Home > Mobile >  Questions about Glide4.9.0 release resources
Questions about Glide4.9.0 release resources

Time:09-26

Recently on the application of basic stability done
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 leak

CodePudding user response:

Glide will automatically management life cycle, no leakage, the activity should be your quoted lead to leakage after loading pictures

CodePudding user response:

Network request delay the first line of the operation must first determine isFinishing () again for subsequent operations
  • Related