Easy Image Caching for andorid
BVCache is a light weight image caching library that demonstrates the usage of LRUCache in android.
-
Download AsyncImageDownloader.java and BVCache.java files and include them in your Android Project.
-
To set image to an ImageView from a Url String is as simple as follows:
BVCache.setImageFromURL("Url for image goes here", imageView);
- You can also use BVCache to cache other files types using -
BVCache.getFileFromURL("URL String goes here");