Share via


ViewGroup.OnViewAdded(View) Method

Definition

Called when a new child is added to this ViewGroup.

[Android.Runtime.Register("onViewAdded", "(Landroid/view/View;)V", "GetOnViewAdded_Landroid_view_View_Handler", ApiSince=23)]
public virtual void OnViewAdded (Android.Views.View? child);
[<Android.Runtime.Register("onViewAdded", "(Landroid/view/View;)V", "GetOnViewAdded_Landroid_view_View_Handler", ApiSince=23)>]
abstract member OnViewAdded : Android.Views.View -> unit
override this.OnViewAdded : Android.Views.View -> unit

Parameters

child
View

the added child view

Attributes

Remarks

Called when a new child is added to this ViewGroup. Overrides should always call super.onViewAdded.

Java documentation for android.view.ViewGroup.onViewAdded(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