Flipping between landscape and portrait is causing me a problem with
dialogs that are active at the time of config change.  The dialogs
survive (which I think is good), but I have the problem that some of
my dialogs contain dynamic content which would need to be refreshed in
the dialog views.  All that content disappears from the dialog views
after the config change.

I thought it would be easier to do a dismissDialog() on restoration in
onCreate(), letting the user press the button that shows the dialog.
I successfully save and recover the dialog id, but when I attempt to
dismissDialog(id) I get an IllegalArgumentException: no dialog with id
1 was ever shown via Activity$showDialog.

Ok, so that doesn't work, and I still have that messed up dialog up on
the screen that I want to get rid of.  How can I do that?  Are there
any other reasonable alternatives?  Thanks.
--~--~---------~--~----~------------~-------~--~----~
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