not the AlertDialog)
Thank Android Developers Group for advice and help. John Brown
On Jul 31, 1:31 am, Brad Gies <rbg...@gmail.com> wrote:
> Why not just use theAlertDialogthe way it is meant to be used? Even
> though it's not modal, it looks modal the way it works anyway, and you
> just need code a little differently and put all logic that happens after
> the Dialog closes into the ButtonListeners.
>
> What do you need to do that you think you can't accomplish using it
> properly? For a Yes, No confirmation just setup a listener for the
> positive and negative buttons (the same listener if you want).
>
> Brad
>
> On 30/07/2010 7:14 PM, john brown wrote:
>
>
>
>
>
> >>AlertDialogis not "modal" - the call to show() returns immediately, leaving
> >> the dialog on the screen and button callbacks active.
>
> > Does this mean that:
> > 1) It is not possible for theAlertDialogto be made "modal" .
> > 2) My implementation of theAlertDialogis not modal. Solve problem
> > withAlertDialog.IsModal = true; (or something like that)
> > 3) or maybe:
> > boolean buttonPushedFlag = false;
> > AlertDialog.show();
> > ..........
> > do while buttonPushedFlag = false {
> > }
>
> > How do I accomplish what I need, a yes/no confirmation?
>
> > Thanks, John Brown
>
> > On Jul 30, 3:44 pm, Kostya Vasilyev<kmans...@gmail.com> wrote:
>
> >>AlertDialogis not "modal" - the call to show() returns immediately, leaving
> >> the dialog on the screen and button callbacks active.
>
> >> This is the reason for the sequence change you're seeing.
>
> >> --
> >> Kostya Vasilyev --http://kmansoft.wordpress.com
>
> >> 31.07.2010 1:37 пользователь "TreKing"<treking...@gmail.com> написал:
>
> >> On Fri, Jul 30, 2010 at 4:31 PM, john brown<johnbrowngreybe...@gmail.com>
> >> wrote:
>
> >>> What can I do ...
>
> >> Print "after" in response to clicking the dialog buttons.
>
> >> --------------------------------------------------------------------------- ----------------------
> >> TreKing<http://sites.google.com/site/rezmobileapps/treking> - Chicago
> >> transit tracking app for Android-powered devices
>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Android Developers"...
>
> --
> Sincerely,
>
> Brad Gies
> -----------------------------------------------------------------------
> Bistro Bot - Bistro Blurbhttp://www.bgies.comhttp://www.bistroblurb.comhttp://www.ihottonight.com
> -----------------------------------------------------------------------
>
> Never doubt that a small group of thoughtful, committed people can
> change the world. Indeed. It is the only thing that ever has - Margaret Mead
--
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