Hi,

Is it possible to use bundle and save the data in OnPause() lifecycle
method?
The scenario is i have 2 edit text and have entered some data
i want to retain the data when the activity is killed and started
again.

This can be achieved using onSaveInstanceState() but as documentation
says, this method is not a lifecycle method and hence the callback is
not guaranteed.

So i wanted to know if there is a way to save it using Bundle in
onPause().
-- 
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