View.OnVisibilityChanged(View, ViewStates) View.OnVisibilityChanged(View, ViewStates) Method

Definition

Called when the visibility of the view or an ancestor of the view has changed.

[Android.Runtime.Register("onVisibilityChanged", "(Landroid/view/View;I)V", "GetOnVisibilityChanged_Landroid_view_View_IHandler", ApiSince=8)]
protected virtual void OnVisibilityChanged (Android.Views.View changedView, Android.Views.ViewStates visibility);
abstract member OnVisibilityChanged : Android.Views.View * Android.Views.ViewStates -> unit
override this.OnVisibilityChanged : Android.Views.View * Android.Views.ViewStates -> unit

Parameters

changedView
View View

The view whose visibility changed. May be this or an ancestor view.

visibility
ViewStates ViewStates

The new visibility, one of Visible, Invisible or Gone.

Remarks

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