Skip to content Skip to sidebar Skip to footer

Image That Is Set In Bindview Method Behaves Funny

I decided to populate my list view with the help of implementing the Cursor Adapter and Cursor Loader since I am expecting a large number of list contents (many rows) on my activit

Solution 1:

Views are recycled, so as you scroll you make one request, and the response will come asynchronously in the wrong row.

To solve this you should use an Image loader like Picasso or Glide.

They are both very similar and easy to use:

So replace your bindview for something like this

Glide.with(context)
    .load(yourUrl)
    .into(myImageView);

Post a Comment for "Image That Is Set In Bindview Method Behaves Funny"