tags:

views:

49

answers:

1

I created an instance of a custom class RestaurantList to hold my data (a list of restaurant data received from a web service as json data).

How can I save it in onSaveInstanceState?

A: 

Check this answer.

Basically you have to save it inside a Bundle.

Macarse
Ok thanks, maybe I wasn't clear enough. What I wanted to know is how to save a *custom* object. I found that I can make it parcelable.
jul