Udostępnij za pośrednictwem


ActionMode.Callback2.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")]
public abstract 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")>]
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.

Implements

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