I usually use a wrapper class.  Just create a custom
NonConfigurationInstance class that has your object array as one of
its member variables.

On Jan 26, 5:27 pm, som <[email protected]> wrote:
> Hi Guys,
>
> I have developed a Paint application on Android. I have reached a
> stumbling block now.. I want to retain all the graphical shapes drawn
> on the canvass when i switch from portrait to landscape... which means
> onretainnonconfigurationinstance should return an array of objects.
> does the API support it? how can i do this?
>
> thanks in advance...
>
> Som

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

Reply via email to