Skip to content Skip to sidebar Skip to footer

My Images Get Shuffled Or Changed When I Scroll In List View

my images get shuffled or changed when i scroll in list view....... Images get shuffled when i scroll down and keep on changing own its own............... public class CustomListAd

Solution 1:

The problem is very generic for new Android developers.

Your ImageDownloaderTask should take care of whether the downloaded image should still be posted on screen.

For example, after ImageDownloaderTask finishes one image downloading task (e.g. for index 15), it should make sure the 15th item is still displaying on screen. Since ListView is reusing all the item views, if you directly set the bit map to the original referenced view, your imageview will be shuffled.

Post a Comment for "My Images Get Shuffled Or Changed When I Scroll In List View"