You cannot start a load for a destroyed activity

https://github.com/bumptech/glide/issues/803

When your image is still loading, or you load the image in the post in asynctask, when async is still running, you back and finish your activity , then an error is reported. Above is the solution. The test is passed

You can let the thread sleep for 1 second in your doinbackground, and then it is easy to simulate a crash situation.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326992859&siteId=291194637