View.DispatchVisibilityChanged(View, ViewStates) Method

Definition

Dispatch a view visibility change down the view hierarchy.

[Android.Runtime.Register("dispatchVisibilityChanged", "(Landroid/view/View;I)V", "GetDispatchVisibilityChanged_Landroid_view_View_IHandler")]
protected virtual void DispatchVisibilityChanged (Android.Views.View changedView, Android.Views.ViewStates visibility);
[<Android.Runtime.Register("dispatchVisibilityChanged", "(Landroid/view/View;I)V", "GetDispatchVisibilityChanged_Landroid_view_View_IHandler")>]
abstract member DispatchVisibilityChanged : Android.Views.View * Android.Views.ViewStates -> unit
override this.DispatchVisibilityChanged : Android.Views.View * Android.Views.ViewStates -> unit

Parameters

changedView
View

The view whose visibility changed. Could be 'this' or an ancestor view.

visibility
ViewStates

The new visibility of changedView: #VISIBLE, #INVISIBLE or #GONE.

Attributes

Remarks

Dispatch a view visibility change down the view hierarchy. ViewGroups should override to route to their children.

Java documentation for android.view.View.dispatchVisibilityChanged(android.view.View, int).

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