This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

images are messed up on ListView  RSS feed

 
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
Boost this thread!