Commit 57b3696a authored by gaodapeng's avatar gaodapeng

增加一个注释

parent 907a99ee
......@@ -359,7 +359,8 @@ public class ImageVideoFragment extends Fragment {
@Override
public void onDestroyView() {
//2021/2/24 记录:这里要判断LoadingImage的存在,否则会回收本地Resource,造成加载错误.本地id标识的图片也会处理为BitmapDrawable
//2021/2/24 记录:这里要判断LoadingImage的存在,否则会回收本地Resource,造成加载错误.
// 本地id标识的图片也会处理为BitmapDrawable.另外加载图片时不会初始化ivWaitLoading,所以这里也要判断非空
if (bannerBean.getLoadingImage() != null && ivWaitLoading != null) {
Drawable drawable = ivWaitLoading.getDrawable();
ivWaitLoading.setImageDrawable(null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment