ActionProvider.OverridesItemVisibility Method

Definition

The result of this method determines whether or not #isVisible() will be used by the MenuItem this ActionProvider is bound to help determine its visibility.

[Android.Runtime.Register("overridesItemVisibility", "()Z", "GetOverridesItemVisibilityHandler")]
public virtual bool OverridesItemVisibility ();
[<Android.Runtime.Register("overridesItemVisibility", "()Z", "GetOverridesItemVisibilityHandler")>]
abstract member OverridesItemVisibility : unit -> bool
override this.OverridesItemVisibility : unit -> bool

Returns

true if this ActionProvider overrides the visibility of the MenuItem it is bound to, false otherwise. The default implementation returns false.

Attributes

Remarks

The result of this method determines whether or not #isVisible() will be used by the MenuItem this ActionProvider is bound to help determine its visibility.

Java documentation for android.view.ActionProvider.overridesItemVisibility().

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