I set up a progressdialog in an Android AsyncTak and it works.
My question is it possible to update in the onProgressUpdate method of the AsyncTask the string that the ProgressDialog displays. I would like to update the string with a publishProgress call to show progress of the task.
I can update the string if instead of the progressDialog I have my own textview. The progressDialog looks better and has the spinning wheel.
Yes you can. Simply call myProgressDialog.setMessage("My New Message");
in onProgressUpdate
method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With