Glide recyclerview loading duplicate image

后端 未结 2 1896
轻奢々
轻奢々 2021-01-23 09:56

I have a recyclerview with diffutil. Already I using Glide to load images inside the ImageViews.

on the onBindV

2条回答
  •  心在旅途
    2021-01-23 10:15

    Try clearing the image before loading a new one in your loadImage method:

    view.main_image.setImageBitmap(null)
    Glide.with(...)
    

提交回复
热议问题