Code example for AlertDialog

Methods: dismiss, isShowing

0
 
	public synchronized void decrProgress() { 
		mProgressCounter--;
		SurespotLog.v(TAG, "decr, progress counter: " + mProgressCounter);
		if (mProgressCounter == 0) {
			if (mMultiProgressDialog.isShowing()) {
				try { 
					mMultiProgressDialog.dismiss();
				} 
				catch (Exception e) {
					SurespotLog.w(TAG, "decrProgress", e);
				} 
			} 
		} 
	} 
 
}