I've read the thread "Android Process and activities life cycle" as well as the relevant portion of the book but they do not address the issue of object initialization and best practices for dealing with the Pause\Resume cycle.
Which things are guaranteed to persist in a Pause\Resume cycle?
Which things are guaranteed to persist in a Pause\Resume cycle?
- Process Globals in other previously run Activity? i.e. top level "Activity Main".
- Process Globals: Variables defined in Process Globals in this current Activity? i.e. Activity "Activity Sub"
- Globals: Variables defined in globals and their values. Do they need to be re-initialized and values reassigned.
- Loaded layouts - should they be reloaded on Resume?
- Views added by variables located in Globals?
- I know user state data does not persist.