how to pause AsyncTask for asking details from user?
===

I want to ask user for some details while doing some work in `doInBackground()` of `AsyncTask` (showing to user some dialog with choices in UI-thread), and after users choice continue the job in `doInBackground()` with chosen parameters from dialog.

What is a best mechanism of transfer this parameter to `doInBackground()`? How I should pause (and continue) thread doing `doInBackground()` (maybe `object.wait()` and `notify()`?)? Should I use a `Handler` for this purpose?