Glide-You cannot start a load for a destroyed activity
场景:
在获取本地相册的时候,加载大量数据,打开界面,然后很快finish界面,就会出现You cannot start a load for a destroyed activity,因为finish的时候,图片还没有被夹在完,Glide.with(mContext).load(bitmapLast).into(binding.itemPhoto);mContext为空导致,所以需要判断act...
转载
2018-11-16 10:19:34 ·
362 阅读 ·
0 评论