Share via


PopupMenu.SetOnDismissListener(PopupMenu+IOnDismissListener) Method

Definition

Sets a listener that will be notified when this menu is dismissed.

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

Parameters

listener
PopupMenu.IOnDismissListener

the listener to notify

Attributes

Remarks

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