I used the code android lrucache example (Memory Cache) to cache downloaded images(total nearly 120 kbytes) and it works, but when I go out from the activity(or app) the cache is removed, and when i again go to the activity it downloads and caches the images again.
Please tell me: if I can use lrucache to store data for nearly 5 days(nearly 1mb) or if can' t, can I do it using DiskLruCache? Thank you in advance.