I want to update dialog\'s download progress from doInBackground.
I am printing log as well as publishing progress.
Neither of them are working.
It up
remove super from onProgressUpdate and then try
@Override
protected void onProgressUpdate(Void... values) {
//super.onProgressUpdate(values);
mProgressDialog.setProgress(progress);
}
if it doesn't work than add a sleep statement in your loop so that this loop will free the processor and give time to publish the progress
try {
Thread.sleep(200);
} catch (InterruptedException e) {
e.printStackTrace();
}