On-Demand Image Loading for Rive-Android Runtime
Hello Rive team!
We're encountering an issue when using external image resources in the Rive-android runtime. Currently, it appears that all external images must be completely loaded before the animation can start playing.
For animations that rely on numerous images, especially frame-by-frame animations, this becomes a significant bottleneck. It leads to excessively long initial loading times and consumes substantial cache memory, severely impacting performance, particularly on lower-end devices.
I'm wondering if there's a way in the Android runtime to load images on-demand when playing Rive files. For example, when sequence frames are encapsulated in a solo, could we load the corresponding images into the cache only when we reach specific frames during playback? This would solve a major problem for us.