Sdílet prostřednictvím


ListPopupWindow.SetOnDismissListener(PopupWindow+IOnDismissListener) Method

Definition

Set a listener to receive a callback when the popup is dismissed.

[Android.Runtime.Register("setOnDismissListener", "(Landroid/widget/PopupWindow$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_widget_PopupWindow_OnDismissListener_Handler")]
public virtual void SetOnDismissListener (Android.Widget.PopupWindow.IOnDismissListener? listener);
[<Android.Runtime.Register("setOnDismissListener", "(Landroid/widget/PopupWindow$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_widget_PopupWindow_OnDismissListener_Handler")>]
abstract member SetOnDismissListener : Android.Widget.PopupWindow.IOnDismissListener -> unit
override this.SetOnDismissListener : Android.Widget.PopupWindow.IOnDismissListener -> unit

Parameters

listener
PopupWindow.IOnDismissListener

Listener that will be notified when the popup is dismissed.

Attributes

Remarks

Java documentation for android.widget.ListPopupWindow.setOnDismissListener(android.widget.OnDismissListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to