I saw a lot of implementations of smooth downloading images from web and showing them in listView with cache. Now I have the following situation: I'm storing images to SDCard and sometimes my listView shows them instead of images from web resource. In this case navigation in listView is not smooth. Do you know any good implementation of listView with image from sdCard?
Asked
Active
Viewed 2,404 times
1
-
Did you try Fedor's Lazyloading? – Andro Selva Jul 16 '12 at 07:48
-
[Showing images from SDCard that smooth the scroll](http://vikaskanani.wordpress.com/android-custom-gallery-and-instant-upload-project/) – Venky Jul 16 '12 at 07:48
-
Well, I don`t know actually, can you post a link to it? – Stas Jul 16 '12 at 07:49
1 Answers
0
Multithreading is the answer! http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html Just ignore the the sections for downloading, but idea is the same!
Then check this code : Lazy load of images in ListView
-
I did multithreading. Navigation became smooth but pictures changing very often while navigation. I don`t know. I need an example of smooth listView from with picture SDCard – Stas Jul 16 '12 at 11:18