Android.Views.ActionProvider Members

The members of Android.Views.ActionProvider are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a new instance.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
HasSubMenubool. Determines if this ActionProvider has a submenu associated with it.
[read-only]
IsVisiblebool. If ActionProvider.OverridesItemVisibility returns true, the return value of this method will help determine the visibility of the Android.Views.IMenuItem this ActionProvider is bound to.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
OnCreateActionView() : View
Factory method called by the Android framework to create new action views.
OnCreateActionView(IMenuItem) : View
Factory method called by the Android framework to create new action views.
OnPerformDefaultAction() : bool
Performs an optional default action.
OnPrepareSubMenu(ISubMenu)
Called to prepare an associated submenu for the menu item backed by this ActionProvider.
OverridesItemVisibility() : bool
The result of this method determines whether or not ActionProvider.IsVisible will be used by the Android.Views.IMenuItem this ActionProvider is bound to help determine its visibility.
RefreshVisibility()
If this ActionProvider is associated with an item in a menu, refresh the visibility of the item based on ActionProvider.OverridesItemVisibility and ActionProvider.IsVisible.
SetVisibilityListener(ActionProvider.IVisibilityListener)
Set a listener to be notified when this ActionProvider's overridden visibility changes.

Public Events

VisibilityDocumentation for this section has not yet been entered.