Listview Imageview Load Same Pictures
Solution 1:
from your question I can assume that you don't know about the ListView
recycling mechanisem
basically, view that that not visible anymore (after user scrolled it away from sight) it been recycled to displayed new item that need to shown. that's the convertView
parameter at the getView()
method...
probably you are see the same image because the recycled view stays with the same image..
also there is the issue of the asynchronous task (your ImageDownload class) that can finish it execute when the original item that started the request already been recycled.
I recommend you to "dig" as dipper as you can to understand all about ListView
- this is one of the most complex and important UI component. reading the post I linked you is a good start.
also this video is very important:
Post a Comment for "Listview Imageview Load Same Pictures"