Udostępnij za pośrednictwem


Activity.OnMenuOpened(Int32, IMenu) Method

Definition

To be added

[Android.Runtime.Register("onMenuOpened", "(ILandroid/view/Menu;)Z", "GetOnMenuOpened_ILandroid_view_Menu_Handler")]
public virtual bool OnMenuOpened (int featureId, Android.Views.IMenu menu);
[<Android.Runtime.Register("onMenuOpened", "(ILandroid/view/Menu;)Z", "GetOnMenuOpened_ILandroid_view_Menu_Handler")>]
abstract member OnMenuOpened : int * Android.Views.IMenu -> bool
override this.OnMenuOpened : int * Android.Views.IMenu -> bool

Parameters

featureId
Int32

The panel that the menu is in.

menu
IMenu

The menu that is opened.

Returns

The default implementation returns true.

Implements

Attributes

Remarks

To be added

Java documentation for android.app.Activity.onMenuOpened(int, 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