You cannot start a load for a destroyed activity in relativelayout image using glide

后端 未结 10 938
悲&欢浪女
悲&欢浪女 2020-12-02 19:33

I am using relativelayout to set an image.Why I hadn\'t using imageview means, inside relativelayout image, I am setting icons.

I dont know what is the issue exactly

10条回答
  •  Happy的楠姐
    2020-12-02 20:32

    the other way is to check if the activity is destroyed or not, then load into UI element.

    if (!newActivty.isDestroyed()){
       ...
    }
    

提交回复
热议问题