thest1 / LazyList

Lazy load of images in Android
http://stackoverflow.com/questions/541966/android-how-do-i-do-a-lazy-load-of-images-in-listview/3068012#3068012
MIT License
1.2k stars 497 forks source link

Get ImageLoader to work with Library widget too, can load images in async #13

Closed romansky closed 12 years ago

romansky commented 12 years ago

...

-- was needed to get this working with the Gallery widget, where the target image size is actually bigger.

thest1 commented 12 years ago

Actually in production you have to display images in multiple different sizes. So I just pass required re-sample size to displayImage(). But when you do that you have to bother about memory cache. If you have re-sampled image cached in memory but later ask for a complete image memory cache will return you the re-sampled one. I don't want to overwhelm people with all this stuff. So I try to keep my sample project simple. This way people can easily learn it and adapt to their specific requirements. Pretty hard to make it all-in-one solution good for all.