ViewStructure.AddChildCount(Int32) Method

Definition

Add to this view's child count.

[Android.Runtime.Register("addChildCount", "(I)I", "GetAddChildCount_IHandler", ApiSince=23)]
public abstract int AddChildCount (int num);
[<Android.Runtime.Register("addChildCount", "(I)I", "GetAddChildCount_IHandler", ApiSince=23)>]
abstract member AddChildCount : int -> int

Parameters

num
Int32

The number of new children to add.

Returns

Returns the index in the child array at which the new children start.

Attributes

Remarks

Add to this view's child count. This increases the current child count by <var>num</var> children beyond what was last set by #setChildCount or #addChildCount. The index at which the new child starts in the child array is returned.

Java documentation for android.view.ViewStructure.addChildCount(int).

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