Code example for DialogInterface.OnClickListener

Methods: onClick

0
		} 
	} 
	 
	public void onNegativeClick(View view) {
		if (mOnNegativeListener != null) {
			mOnNegativeListener.onClick(this.getDialog(), DialogInterface.BUTTON_NEGATIVE);
		} 
		 
		this.dismiss();
	} 
	 
	public void onNeutralClick(View view) {
		if (mOnNeutralListener != null) {
			mOnNeutralListener.onClick(this.getDialog(), DialogInterface.BUTTON_NEUTRAL);
		} 
		 
		this.dismiss();
	} 
	 
	public void onPositiveClick(View view) {
		if (mOnPositiveListener != null) {