Rameez Hussain
Rameez Hussain

Reputation: 6764

Lazy loading of images in ListView

I know this is a widely discussed issue, but I'd like to ask a question anyway. I have lists (with BaseAdapters) in my app, all of which obtain images from the web. Now I've tried:

1) AsyncTasks in which the image is downloaded first, stored into a cache, and then displayed on the onPostExecute method. The image is obtained from the cache subsequently.

2) Nostra's Universal Image Loader.

3) Fedor's LazyList. And;

4) Novoda's ImageLoader.

All of these methods claim to make the loading of images "lazy". But the problem is that the scrolling of my list still isn't smooth. It gets stuck and continues when the image completes loading. I've been at this for days now. Does anyone know of a good solution for this problem?

Upvotes: 14

Views: 8174

Answers (2)

Chris.Jenkins
Chris.Jenkins

Reputation: 13139

By far the easiest libaray I have used which caches images and works really well is AQuery Image Loading Lib. I use it all the time for image loading and caching, really simple.

Upvotes: 11

RajeshVijayakumar
RajeshVijayakumar

Reputation: 10650

Try this, I hope it might help you to resolve your issue

Example 1

Example 2

Upvotes: 1

Related Questions