Tuesday, April 19, 2011

[android-developers] Re: How to properly clear intent data from singleTop Activity?

Try to use onSaveInstanceState to record the fact that you have 'nulled' out some of the extras.
Then in onCreate, examine its 'Bundle savedInstanceState' parameter. If it is not null, it is the Bundle you returned in the onSaveInstanceState earlier. From this Bundle, you can decide to ignore these extras or not.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate