Code example for ProgressDialog

Methods: dismiss

0
					public void run() { 
						action.run();
						activity.runOnUiThread(new Runnable() {
							public void run() { 
								try { 
									progress.dismiss();
								} catch (Exception e) {
									e.printStackTrace();
								} 
								if (postAction != null) {
									postAction.run();
								} 
							} 
						}); 
					} 
				}; 
				if (minPriority) {
					runner.setPriority(Thread.MIN_PRIORITY);
				} 
				runner.start();
			}