File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

images are messed up on ListView

 
tasos georgiou
Greenhorn
Posts: 8
  • 0
  • 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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic