On Wed, Jun 22, 2011 at 2:21 PM, EmbSysPro <[email protected]> wrote:

> This works very well for me on my Archos 43IT (Android 2.2.1).  You
> just need to follow this simple logic replacing it with your own
> requirements.  This is a simple new user info panel.
>

Buddy ... the system calls onSave and onRestore on Views for you - there's
no need to do this yourself for every single EditText, for example.

You only really need to save and restore the GUI state if it changes
dynamically. If you have a simple form you really don't need to do anything.

Try it - throw an EditText into an Activity, type something in, and rotate
the device - the system saves and restores the text. Same goes for check
boxes, radio groups, etc.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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