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

前端 未结 8 675
悲哀的现实
悲哀的现实 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:27

    Glide use setTag(Object) method internally. So remove all calls of setTag(Object) from your target view. ie ImageView

    If you really required to use setTag method on your view, you can use setTag(int,Object) method instead.

提交回复
热议问题