Code example for AlertDialog

Methods: dismissisShowing

0
			mTimerTask.cancel();
			mTimerTask = null;
		} 
		SurespotLog.v(TAG, "hide");
 
		if (mSingleProgressDialog.isShowing()) {
			try { 
				mSingleProgressDialog.dismiss();
			} 
			catch (Exception e) {
				SurespotLog.w(TAG, e, "hide");
			} 
		} 
 
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java