Question about the lifecycle of the Notepad example app...  it appears
that when a user is 'inserting' a new note, they've typed in some text
and then they rotate the screen, the orientation change causes
onCreate to be fired off again, inserting a second note into the
database.  This can be repeated any number of times by simply changing
the orientation while still in this initial 'insert' state.

Any suggestions/best practices on how an Activity that has multiple
states can deal with screen rotation?  My thought was to store the Uri
of the note in the savedInstance Bundle, then check it in onCreate...
is this typically how this would/could be handled?

Thanks,
Paul

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