in restoring the dialog before whole layout is initialized.. which is
quite weird. Is there a way to retrieve the list of opened dialogs
associated to current Activity?
On 20 Sie, 12:11, Kostya Vasilyev <kmans...@gmail.com> wrote:
> The actual dialog objects get destroyed, and re-created around the time
> of onRestoreInstanceState in the new activity instance (causing
> onCreateDialog / onPrepareDialog to be called).
>
> http://www.google.com/codesearch#uX1GffpyOZk/core/java/android/app/Ac...
> <http://www.google.com/codesearch#uX1GffpyOZk/core/java/android/app/Ac...>
>
> -- Kostya
>
> 20.08.2011 14:04, Snowak пишет:
>
> > Sorry for double posting, but there's one more thing that bothers me
> > regarding this problem. Dialog requires to pass Activity as a context,
> > but when changing screen orientation that activity is destroyed. How
> > can it use the cached dialog with invalid context? Is it setting it to
> > the new one?
>
> --
> Kostya Vasilyev
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment