IMenuItem.SetActionProvider(ActionProvider) Method

Definition

Sets the ActionProvider responsible for creating an action view if the item is placed on the action bar.

[Android.Runtime.Register("setActionProvider", "(Landroid/view/ActionProvider;)Landroid/view/MenuItem;", "GetSetActionProvider_Landroid_view_ActionProvider_Handler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=14)]
public Android.Views.IMenuItem SetActionProvider (Android.Views.ActionProvider actionProvider);
abstract member SetActionProvider : Android.Views.ActionProvider -> Android.Views.IMenuItem

Parameters

actionProvider
ActionProvider

The action provider.

Returns

IMenuItem
Attributes

Remarks

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

See also