标签:信息 log new not request targeting else style imageview
报错信息为:You must not call setTag() on a view Glide is targeting
原因就是使用setTag后导致Glide强制转换中将ImageView类型不能判断为Request类型所致。
在Glide源码中可追溯:
if (tag instanceof Request) { request = (Request) tag; } else { throw new IllegalArgumentException("You must not call setTag() on a view Glide is targeting"); }
ListView或GridView的Adapter使用Glide加载图片异常
标签:信息 log new not request targeting else style imageview
原文地址:http://www.cnblogs.com/zzq-include/p/6135312.html