I'm trying to display 3 different messages in a progress dialog.
In onPreExecute
I create the dialog and set the first message.
In doInBackground
I call the publishProgres("sentence 2", "sentence 3")
with two other sentences/messages that has to be displayed.
If in the onProgressUpdate
I use myDialog.setMessage(values[0]);
it shows me the first sentence sent and if I use myDialog.setMessage(values[1]);
it shows me the second message sent.
But my question is, what can I do to make the dialog display the first sentence sent and after some time the second message?
The hole thing is that I'm ding a connection to an url, doing some other stuff and updating the data of a list at the end and have to display a dialog that shows three different messages while the processes are taking place...