My Android app is simple but it handles rotation, start from an intent (cold and warm) (old intent or new), start from home, and so on. The methods that are called are not always know, so sometimes more than a single method are called. For example onSaveInstanceState and onConfigurationChanged are not always independent.
My app has to manage editing data in the detail view. For example it tries to ask the user whether it has to save, before going back or choosing other records.
In many case this has to be done silently because the app is just undergoing some strange eevent or transformation.
Furthermore the app singleton sometime is lost.
Codename apps seem to be simpler from this point of view, but I need to know if there is some "singleton" class I can count on every time, unless the app is destroyed.
I see that there is not fragment and activity cycles so I think this is easy.
Thanks in advance