JP wrote:
> Interesting latest blog entry
> http://android-developers.blogspot.com/2009/02/faster-screen-orientation-change.html
> about Activity.onRetainNonConfigurationInstance(). I had missed this
> in the docs before, but it does not seem very useful for apps that
> save application state in either onStop() or onPause(). This is the
> case when a regular app exit needs to be covered - a fairly wide
> spread use case I would say.
> Or do I get this wrong?

I would say that onRetainNonConfigurationInstance() is mostly for the
case where you need to hold onto something that cannot be readily stored
in a Bundle at rotation-time, such as a live socket connection to a chat
server.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to