Saturday, November 2, 2013

Re: [android-developers] Restoring instance state for a dialog that launches another dialog


On Sat, Nov 2, 2013 at 5:28 PM, Michael Palmer <meicpalmer@gmail.com> wrote:
When onCreateDialogView is called, the Runnable is assigned a value.  This Runnable object is actually created in a method call in the custom view subclass itself.  This class stores a dialog variable.  The Runnable will show the dialog if it is both not null and not showing.  This condition happens after a call to onRestoreInstanceState with data indicating that the dialog was open - it will create a new dialog and assign it to this variable, but not show it.

I mean, how are you actually putting this Runnable to use? When and how do you call it? What method (not referring java function) are you using it execute it? Code snip if you have it.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate