I have a list view and i am lazyily loading the bitmap in the cell from the cloud.
Now the problem is, i am making a request to the service in the getView of the adapter, so a request is made, but when the hotel cell is being reused then there are multiple image fetch request for an imageview , so imageview image are switching between multiple images..help???
I have a list view and i am lazyily loading the bitmap in the
Share
Since the
ImageViewis being recycled it now comes with a different url. You need to cancel the previous download and execute a new one. There are open sources frameworks you can Google for.Here’s one: https://github.com/mitmel/Android-Image-Cache
Even better: http://square.github.io/picasso/