ViewGroup.IOnHierarchyChangeListener.OnChildViewAdded(View, View) 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 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.
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.