Code example for DialogInterface.OnClickListener

Methods: onClick

0
		this.dismiss();
	} 
	 
	public void onPositiveClick(View view) {
		if (mOnPositiveListener != null) {
			mOnPositiveListener.onClick(this.getDialog(), DialogInterface.BUTTON_POSITIVE);
		} 
		 
		this.dismiss();
	} 
	 
} 
Experience pair programming with AI  Get Codota for Java