I have a method which is processing data. During execution the data can be processed several ways (new data or not and if new save it or decline new data etc). And every step is have to be managed by user and user have to decide how to process data.
So i have to ask user and wait his answer. Then, based on user choice continue to process data.
I'm using AlertDialog.
Shall i put data processing in other Task and stop this task for prompting user and resume after dialog result?
Or there is any other better way?
Very appretiate of your help.