Udostępnij za pośrednictwem


Activity.OnContextMenuClosed(IMenu) Method

Definition

This hook is called whenever the context menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected).

[Android.Runtime.Register("onContextMenuClosed", "(Landroid/view/Menu;)V", "GetOnContextMenuClosed_Landroid_view_Menu_Handler")]
public virtual void OnContextMenuClosed (Android.Views.IMenu menu);
[<Android.Runtime.Register("onContextMenuClosed", "(Landroid/view/Menu;)V", "GetOnContextMenuClosed_Landroid_view_Menu_Handler")>]
abstract member OnContextMenuClosed : Android.Views.IMenu -> unit
override this.OnContextMenuClosed : Android.Views.IMenu -> unit

Parameters

menu
IMenu

The context menu that is being closed.

Attributes

Remarks

This hook is called whenever the context menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected).

Java documentation for android.app.Activity.onContextMenuClosed(android.view.Menu).

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