Code example for Dialog

Methods: isShowing

0
    public void dismiss(){ 
    	mDialog.dismiss();
    }     
 
    public boolean isShowing(){ 
    	return mDialog.isShowing();
    } 
     
    public void setCancelListener(OnCancelListener listener) {
        mDialog.setOnCancelListener(listener);
    } 
 
}