How to cache images in Android?

In my Android app, I download images from the Internet.

Now I want to save these images in cache. I also want to display images for users from cashe (and not from the Internet again).

I cannot use the CacheManager class because it is deprecated, so I have to do it manually. How can i do this?

+4
source share
1 answer

You can use ImageManager to cache images in android, it provides an efficient and easy way to load graphic resources asynchronously with many parameters. Here is the website: http://code.google.com/p/android-image- manager /

0
source

Source: https://habr.com/ru/post/1403395/


All Articles