Udostępnij za pośrednictwem


PopupWindow.SetOnDismissListener(PopupWindow+IOnDismissListener) Method

Definition

Sets the listener to be called when the window 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? onDismissListener);
[<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

onDismissListener
PopupWindow.IOnDismissListener

The listener.

Attributes

Remarks

Java documentation for android.widget.PopupWindow.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