Use your Activity's showDialog(int) method to have it managed for you.

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


On Thu, Dec 31, 2009 at 11:53 AM, Michael Dorin <[email protected]> wrote:

> What is the best way to handle dialogs during screen orientation changes?
>
> Do you save then dismiss on the onDestroy() and recreate again on the
> new onCreate()?
>
> Seems like there should be an easy way to do this?
>
> Examples and thoughts are appreciated.
>
> -Mike
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to