android - Preload & Cache Images then Delete Older Images from Cache -


I am preparing an Android app that displays a series of images

Preload images and want to put them in the cache.

When a user sees an image, there is no need to continue caching the images, as the user can not go back to it, so I want to remove them from the cache.

Anyone tell me about this related web site?

Thank you.

Best practices are a solution for similar situation in the Android Developers site, the only problem you can see it This is that they use a LRU cache that reduces the recently used image and is not currently used, but you can remove them manually (As a quick fix solution). Hope that helps

Comments