On Thu, Mar 24, 2011 at 4:49 AM, mathcat <[email protected]> wrote: > This mechanism is so frustrating, how to handle such situation??
Sounds you're already doing it with onSaveInstanceState. If you have Singletons, the whole point behind them is they are initialized on access if they're not already. If you need to do some kind of set up on them, do lazy initialization, where you always check if it's valid and initialize if necessary. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

