Saturday, November 2, 2013

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


On Sat, Nov 2, 2013 at 1:37 PM, Michael Palmer <meicpalmer@gmail.com> wrote:
So, I devised a workaround.  In my DialogPreference subclass, a Runnable variable is stored.  I overrode showDialog so that it first calls the superclass onShowDialog, and then calls the Runnable if it's not null.  The Runnable calls a method that may launch the second dialog if necessary.  However, using this workaround, the dialogs are still appearing in the wrong order.

How are you using this Runnable?

-------------------------------------------------------------------------------------------------
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