1. Check out our companion app, Forums for Android! Download from Google Play

AlertDialog blocking call

Discussion in 'Application Development' started by Leolicos, Jul 13, 2010.

  1. Leolicos

    Leolicos Well-Known Member
    Thread Starter

    Jun 16, 2010
    Senior Software Engineer
    Chicago, IL
    There's a point in my application where I want to have the user choose between 2 options via an AlertDialog, but I'm really far in a recursive function to be able to return out and somehow find my place once the AlertDialog returns. Is there a way to call show() on the dialog and have it block at that point until the user clicks something and then have the program continue?

    I hope that makes sense.


Share This Page