Android.Views.ViewGroup.SetOnHierarchyChangeListener Method
Register a callback to be invoked when a child is added to or removed from this view.

Syntax

[Android.Runtime.Register("setOnHierarchyChangeListener", "(Landroid/view/ViewGroup$OnHierarchyChangeListener;)V", "GetSetOnHierarchyChangeListener_Landroid_view_ViewGroup_OnHierarchyChangeListener_Handler")]
public virtual void SetOnHierarchyChangeListener (ViewGroup.IOnHierarchyChangeListener listener)

Parameters

listener
the callback to invoke on hierarchy change

Remarks

Register a callback to be invoked when a child is added to or removed from this view.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1