android Progress dialog -> publishProgress method
问题 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