Share via


ViewGroup.IOnHierarchyChangeListener.OnChildViewAdded(View, View) Method

Definition

Called when a new child is added to a parent view.

[Android.Runtime.Register("onChildViewAdded", "(Landroid/view/View;Landroid/view/View;)V", "GetOnChildViewAdded_Landroid_view_View_Landroid_view_View_Handler:Android.Views.ViewGroup/IOnHierarchyChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnChildViewAdded (Android.Views.View? parent, Android.Views.View? child);
[<Android.Runtime.Register("onChildViewAdded", "(Landroid/view/View;Landroid/view/View;)V", "GetOnChildViewAdded_Landroid_view_View_Landroid_view_View_Handler:Android.Views.ViewGroup/IOnHierarchyChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnChildViewAdded : Android.Views.View * Android.Views.View -> unit

Parameters

parent
View

the view in which a child was added

child
View

the new child view added in the hierarchy

Attributes

Remarks

Called when a new child is added to a parent view.

Java documentation for android.view.ViewGroup.OnHierarchyChangeListener.onChildViewAdded(android.view.View, android.view.View).

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