Udostępnij za pośrednictwem


ActionProvider.SetVisibilityListener Method

Definition

Set a listener to be notified when this ActionProvider's overridden visibility changes.

[Android.Runtime.Register("setVisibilityListener", "(Landroid/view/ActionProvider$VisibilityListener;)V", "GetSetVisibilityListener_Landroid_view_ActionProvider_VisibilityListener_Handler")]
public virtual void SetVisibilityListener (Android.Views.ActionProvider.IVisibilityListener? listener);
[<Android.Runtime.Register("setVisibilityListener", "(Landroid/view/ActionProvider$VisibilityListener;)V", "GetSetVisibilityListener_Landroid_view_ActionProvider_VisibilityListener_Handler")>]
abstract member SetVisibilityListener : Android.Views.ActionProvider.IVisibilityListener -> unit
override this.SetVisibilityListener : Android.Views.ActionProvider.IVisibilityListener -> unit

Parameters

listener
ActionProvider.IVisibilityListener

listener to set

Attributes

Remarks

Java documentation for android.view.ActionProvider.setVisibilityListener(android.view.VisibilityListener).

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