Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

images are messed up on ListView

 
tasos georgiou
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to make an rss reader using ListView for displaying feeds and ImageLoader to retrieve and display the images within an AsyncTask.The problem is that although the first couple of images that are initially visible on the screen display correctly, after i start scrolling they are messed up.For example the image of first feed is displayed on the second feed and etc.
I've read that the problem is that if the user scrolls while AsyncTask is running, by the time the download of the image completes and the row updates, the row is not supposed to have that image anymore but display a different image.
Anyway i haven't yet found a solution for that.What could i do?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic