| Start |
|---|
Saving data on memory trimming Explanation So, what is happening here? The Android system will always strive to clear as much memory as it can. So, if your activity is down to the background, and another foreground activity is demanding its share, the Android system will call But that doesn't mean that all your properties should vanish. What you should do is to save them into a Bundle object. Bundle object are much better handled memory wise. Inside a bundle every object is identified by unique text sequence - in the example above integer value variable |
Read Article
https://develop.horje.com/learn/1434/reference