Android.Views.ActionProvider Class
An ActionProvider defines rich menu interaction in a single component.

See Also: ActionProvider Members

Syntax

[Android.Runtime.Register("android/view/ActionProvider", DoNotGenerateAcw=true)]
public abstract class ActionProvider : Java.Lang.Object

Remarks

An ActionProvider defines rich menu interaction in a single component. ActionProvider can generate action views for use in the action bar, dynamically populate submenus of a MenuItem, and handle default menu item invocations.

An ActionProvider can be optionally specified for a Android.Views.IMenuItem and will be responsible for creating the action view that appears in the Android.App.ActionBar in place of a simple button in the bar. When the menu item is presented in a way that does not allow custom action views, (e.g. in an overflow menu,) the ActionProvider can perform a default action.

There are two ways to use an action provider:

See Also

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14