Hi ,
I am displaying Confirmation type dialog box. I want to pause
execution of that thread until answer is provided by user, but since this
AlertDialog works asynchronously, I am facing problems in blocking that
thread but displaying AlertDialog and continue execution on answer. I tried
I assume you want a modal dialog. I'm pretty sure blocking the UI thread is
going about this wrong. For example, consider the Activity lifecycle
callbacks which would be called when another Activity or Application becomes
visible.
Here's an explanation I found by googling for android modal
Um ... why don't you just put the code you want to execute in the onClick
handlers for the Yes and No options, respectively?
That's pretty much the point of having them ...
-
TreKing - Chicago transit
3 matches
Mail list logo