在用glide加载图片时,logcat里一直打印W/Bitmap: Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
Glide.with(viewHolder.imageView.getContext())
.load(DisplayImageUtil.getImageUrl(item.getImageUrl(), 600))
.diskCacheStrategy(DiskCacheStrategy.ALL)
.into(viewHolder.imageView);
在加载之前加
Glide.clear(viewHolder.imageView);
即可
https://stackoverflow.com/questions/33363107/warning-using-glide-in-recyclerview