Android Guides | Samples

Android.Views.ViewGroup.IOnHierarchyChangeListener

Interface definition for a callback to be invoked when the hierarchy within this view changed.

See Also: ViewGroup+IOnHierarchyChangeListener

Syntax

[Android.Runtime.Register("android/view/ViewGroup$OnHierarchyChangeListener", "", "Android.Views.ViewGroup/IOnHierarchyChangeListenerInvoker")]
public interface ViewGroup.IOnHierarchyChangeListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when the hierarchy within this view changed. The hierarchy changes whenever 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

The members of Android.Views.ViewGroup.IOnHierarchyChangeListener are listed below.

Public Methods

OnChildViewAdded(View, View)
Called when a new child is added to a parent view.
OnChildViewRemoved(View, View)
Called when a child is removed from a parent view.