public boolean isShowing() { return mProgressDialog != null && mProgressDialog.isShowing(); }
public void dismiss() { if (mProgressDialog != null && mProgressDialog.isShowing()) { mProgressDialog.dismiss(); } }
private static void attendreAffichageProgress() { while (!mProgressDialog.isShowing()) { System.out.println(" "); } }