Error “You must not call setTag() on a view Glide is targeting” when use Glide

前端 未结 8 682
悲哀的现实
悲哀的现实 2020-12-13 09:15

I use Glide library inner custom adapter view in my apps. But I have Error :

\"You must not call setTag() on a view Glide is targeting\" 

T

8条回答
  •  悲&欢浪女
    2020-12-13 09:34

    From what I've found from Googling, seems like Glide and ViewHolder don't get along too well. I tried Picasso instead. Problem solved instantly.

    You can also try the solution from TWiStErRob, but make sure you're using Glide 3.6.0 or higher. It did not recognize setTagId(int) on 3.5.2

提交回复
热议问题