I have an Activity with several managed dialogs. After some of them have displayed (and dismissed) I rotate the device.
#onCreateDialog is called for each previously displayed dialog regardless of whether they currently being displayed or not. Strange, but relatively harmless as code in #onCreateDialog deals with static construction pieces. But I also see #onPrepareDialog being called for every previously displayed dialog too. And that is a worry, because #onPrepareDialog is where you inject state sensitive data into the dialog. State that may no longer be relevant or even wholesome at a point other than when the dialog should be displayed. Any idea why #onPrepareDialog is being unnecessarily called? This is is 2.3.3 William -- 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

