I thought about that. But, then another question come to my mind.
Why wouldn't I always use SharedPreferences to save my activity state?

For example:
I passed groupID and itemID values into activity. In onCreate, I save
both values to SharedPreferences.
Latter, when activity is restarted (for any reason: rotation, pause,
was destroyed, etc.), I check Intent first, if nothing is passed, I
load values from SharedPreferences. This way I woulnd't have to use
onSaveInstanceState ever. Is this OK to do?

Thanks a lot.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to