Sdílet prostřednictvím


ActionMode.ICallback.OnActionItemClicked(ActionMode, IMenuItem) Method

Definition

Called to report a user click on an action button.

[Android.Runtime.Register("onActionItemClicked", "(Landroid/view/ActionMode;Landroid/view/MenuItem;)Z", "GetOnActionItemClicked_Landroid_view_ActionMode_Landroid_view_MenuItem_Handler:Android.Views.ActionMode/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnActionItemClicked (Android.Views.ActionMode mode, Android.Views.IMenuItem item);
[<Android.Runtime.Register("onActionItemClicked", "(Landroid/view/ActionMode;Landroid/view/MenuItem;)Z", "GetOnActionItemClicked_Landroid_view_ActionMode_Landroid_view_MenuItem_Handler:Android.Views.ActionMode/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnActionItemClicked : Android.Views.ActionMode * Android.Views.IMenuItem -> bool

Parameters

mode
ActionMode

The current ActionMode

item
IMenuItem

The item that was clicked

Returns

true if this callback handled the event, false if the standard MenuItem invocation should continue.

Attributes

Remarks

Called to report a user click on an action button.

Java documentation for android.view.ActionMode.Callback.onActionItemClicked(android.view.ActionMode, android.view.MenuItem).

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