A subclass of ImageView on Android application framework. It does all the "dirty work" in the background when you want to display an image from the web. It works smoothly in a ListView.
Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
res
src/com/carllee/views/webimage
.classpath
.project
AndroidManifest.xml
README.md
proguard.cfg
project.properties

README.md

What does WebImageView do?

  • Cache images from web onto local disk in the background automatically

  • Cache images from web in memory with SoftReference, which result in smoothness when you use WebImage in a ListView

  • Hide all the fuzzy details in the class

TODOs

  • Use MD5 digest of the URL of the image that is cached on local disk as the file name instead of the original file name. This can avoid mistaking pictures with same name from different domain names.

  • Change the comments into English

  • Add more comments

  • Add progress bar as an option of waiting image

  • Add xml support