Just relax one's efforts in
Play
Encounter problems
I check log statistics, the in the mind a gasp
Glide I didn't handle
To quote a wrong
You always start a load for a destroyed the activity
Com. Bumptech. Glide. Manager. Goto. For (323) RequestManagerRetriever. Java:
Meaning is dependent on an already destroyed the activity
I going to do immediately in ondestroy destroyed
Load and destruction pictures really use getApplicationContext () statement cycle or the Activity statement cycle right?
CodePudding user response:
Suggest using Application to prevent a memory leakCodePudding user response:
Glide will automatically management life cycle, no leakage, the activity should be your quoted lead to leakage after loading picturesCodePudding user response:
Network request delay the first line of the operation must first determine isFinishing () again for subsequent operations