Im dismissing progress dialog when AsyncTask is finished. Should i check isShowing before dismissing it?
I’ve tried remove this check and it works normally, but may be there are hidden traps?
if (progressDialog.isShowing()) {
progressDialog.dismiss();
}
Is seems that is checked inside implementation: