Saturday, July 3, 2010

[android-developers] How can I pass my custom object to onSaveInstanceState?

Hi,

I created a RestaurantList class to hold my data (a list of some
Restaurant objects created to get some json data using gson). How can
I pass an instance of that class to onSaveInstanceState to be able to
restore my data when needed?

thanks

Jul

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

No comments:

Post a Comment