I still can't seem to get this to work - I may have to replace Dialog
with Activity and set the style to dialog, at least an Activity onPause
() seems to get called ok on rotation - am I missing something with
Dialog::onStop() though?

Thanks

On Jul 14, 3:56 pm, Mark <[email protected]> wrote:
> I just double-checked this - if I call dismiss() on the Dialog, then
> onStop() is called. If I just change the orientation of the device,
> the dialog is still destroyed, but onStop() is not called.
>
> On Jul 14, 3:52 pm, Mark Wyszomierski <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I'm saving the state of my activities for orientation change support,
> > it works well.
>
> > Sometimes I have a dialog open though and need to save its state as
> > well. My dialog's onStop() method doesn't seem to get called when I
> > change orientation. Where would get notified inside the Dialog that
> > we're being destroyed, so I can save its state?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
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