I have a recyclerview
with diffutil
. Already I using Glide
to load images inside the ImageViews
.
on the onBindV
Try clearing the image before loading a new one in your loadImage
method:
view.main_image.setImageBitmap(null)
Glide.with(...)
I know its late but hope it will help someone. Override these two methods in your adapter.
@Override
public long getItemId(int position) {
return position;
}
@Override
public int getItemViewType(int position) {
return position;
}