Code example for AtomicBoolean

Methods: getAndSet

0
		} 
	} 
	 
	public static void dismissDialoge() 
	{ 
		if(isshowing.getAndSet(false))
		{ 
			Platform.getInstance().getHandler().removeCallbacks(cancelableRunnable);
			Platform.getInstance().getHandler().post((new Runnable(){
			public void run() { 
				progressDialog.dismiss();						
			}})); 
		} 
	}	 
	 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE