Must I Persist Activity Data When OnStop() Fires?
I find the official documentation regarding the Activity lifecycle unclear. It's littered with words such as should and might which makes me wonder what I must. When it comes to th
Solution 1:
For your specific question, you need to consider the killable column in the overview table. Android (pre-Honeycomb) considers your Activity killable after onPause() has been called. So if you need persistence for the next call, and you want to handle that on the Activity level, that's where you save your activity state.
Post a Comment for "Must I Persist Activity Data When OnStop() Fires?"