Re: [android-developers] ListView scroll lag with images

2011-10-21 Thread vandana toshniwal
Using softreference for the bitmaps helps. On 19 October 2011 19:04, Sharief Shaik sharie...@gmail.com wrote: The images are read asynchronously already as shown in the above code. But the UI still freezes. When I disabled the line of code that fetches the image from SD card, the

Re: [android-developers] ListView scroll lag with images

2011-10-19 Thread Sharief Shaik
The images are read asynchronously already as shown in the above code. But the UI still freezes. When I disabled the line of code that fetches the image from SD card, the scroll is smooth. Is there any other way I can look at a solution to this problem? Is it a good idea to fetch and store the

[android-developers] ListView scroll lag with images

2011-10-18 Thread Sharief Shaik
Hi All, I have a ListView with dynamic content from web. It has images of size 480X480 px in each row. These images are downloaded in a separate thread and stored to SD card and read from there to display in ListView. The images from SD card are also read using a different thread. The problem is

Re: [android-developers] ListView scroll lag with images

2011-10-18 Thread Justin Anderson
Load the images asynchronously in a separate background thread... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Oct 18, 2011 at 5:27 AM, Sharief Shaik sharie...@gmail.com wrote: Hi All, I have a ListView with dynamic content from web. It has

Re: [android-developers] ListView scroll lag with images

2011-10-18 Thread Ralph Bergmann | the4thFloor.eu
Am 18.10.11 13:27, schrieb Sharief Shaik: thread. The problem is the ListView scroll is very laggy. What should we do to fix this problem? try this: http://www.vogella.de/articles/AndroidListView/article.html#listsactivity_performance -- You received this message because you are subscribed