androidandroid-resourcesimage-preloader

preload images in android


I want to preload my game images while the splash screen. I'm loading all my sounds with SoundPool, but I didn't find something like this for images. How can I preload my images to use the resources later in the game. Thanks.


Solution

  • Just load them in LruCache as described in documentation