ActionProvider.RefreshVisibility Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.