Skip to content Skip to sidebar Skip to footer

Alertdialog Doesn't Wait For Input

I have an AlertDialog created within a switch case statement which is inside a for loop. On the AlertDialog there is an EditText for input. When the box pops up the for loop is run

Solution 1:

As others have said, the Android dialog boxes are not modal (which is to say, they don't block the background processes). Read my blog post for a tutorial on how you get around this, by registering callbacks.


Post a Comment for "Alertdialog Doesn't Wait For Input"