ActionProvider.RefreshVisibility Method

Definition

If this ActionProvider is associated with an item in a menu, refresh the visibility of the item based on #overridesItemVisibility() and #isVisible().

[Android.Runtime.Register("refreshVisibility", "()V", "GetRefreshVisibilityHandler")]
public virtual void RefreshVisibility ();
[<Android.Runtime.Register("refreshVisibility", "()V", "GetRefreshVisibilityHandler")>]
abstract member RefreshVisibility : unit -> unit
override this.RefreshVisibility : unit -> unit
Attributes

Remarks

If this ActionProvider is associated with an item in a menu, refresh the visibility of the item based on #overridesItemVisibility() and #isVisible(). If #overridesItemVisibility() returns false, this call will have no effect.

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

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