The moose likes Android and the fly likes images are messed up on ListView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "images are messed up on ListView" Watch "images are messed up on ListView" New topic

images are messed up on ListView

tasos georgiou

Joined: Nov 30, 2012
Posts: 8
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:
subject: images are messed up on ListView
It's not a secret anymore!