View.OnVisibilityChanged(View, ViewStates) 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.
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")]
protected virtual void OnVisibilityChanged (Android.Views.View changedView, Android.Views.ViewStates visibility);
[<Android.Runtime.Register("onVisibilityChanged", "(Landroid/view/View;I)V", "GetOnVisibilityChanged_Landroid_view_View_IHandler")>]
abstract member OnVisibilityChanged : Android.Views.View * Android.Views.ViewStates -> unit
override this.OnVisibilityChanged : Android.Views.View * Android.Views.ViewStates -> unit
Parameters
- changedView
- View
The view whose visibility changed. May be
this
or an ancestor view.
- visibility
- ViewStates
The new visibility, one of #VISIBLE
,
#INVISIBLE
or #GONE
.
- Attributes
Remarks
Called when the visibility of the view or an ancestor of the view has changed.
Java documentation for android.view.View.onVisibilityChanged(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.