Called when the visibility of the view or an ancestor of the view is changed.
Syntax
[Android.Runtime.Register("onVisibilityChanged", "(Landroid/view/View;I)V", "GetOnVisibilityChanged_Landroid_view_View_IHandler")]
protected virtual
void OnVisibilityChanged (
View changedView, [Android.Runtime.GeneratedEnum]
ViewStates visibility)
Parameters
- changedView
- The view whose visibility changed. Could be 'this' or
an ancestor view.
- visibility
- The new visibility of changedView: View.VISIBLE,
View.INVISIBLE or View.GONE.
Remarks
Requirements
Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8