Code example for ProgressDialog

Methods: cancel

0
	private final class WallPostListener extends BaseRequestListener { 
        public void onComplete(final String response) {
        	mRunOnUi.post(new Runnable() {
        		@Override 
        		public void run() { 
        			mProgress.cancel();
        			 
        			Toast.makeText(TestPost.this, "Posted to Facebook", Toast.LENGTH_SHORT).show();
        		} 
        	}); 
        } 
    } 
}