Code example for PopupWindow

Methods: dismiss

0
	public void setOnDismissListener(PopupWindow.OnDismissListener listener) {
		mWindow.setOnDismissListener(listener);
	} 
 
	public void dismiss() { 
		mWindow.dismiss();
		if (showListener != null) {
			showListener.onDismiss();
		} 
	} 
 
	public void setText(String text) {
		mHelpTextView.setText(text);
	} 
 
	public static interface ShowListener { 
		void onPreShow(); 
		void onDismiss(); 
		void onShow(); 
	}