ViewStructure.NewChild(Int32) 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.
Create a new child ViewStructure
in this view, putting into the list of
children at <var>index</var>.
[Android.Runtime.Register("newChild", "(I)Landroid/view/ViewStructure;", "GetNewChild_IHandler", ApiSince=23)]
public abstract Android.Views.ViewStructure? NewChild (int index);
[<Android.Runtime.Register("newChild", "(I)Landroid/view/ViewStructure;", "GetNewChild_IHandler", ApiSince=23)>]
abstract member NewChild : int -> Android.Views.ViewStructure
Parameters
- index
- Int32
Returns
Returns an fresh ViewStructure
ready to be filled in.
- Attributes
Remarks
Create a new child ViewStructure
in this view, putting into the list of children at <var>index</var>.
<b>NOTE: </b>you must pre-allocate space for the child first, by calling either #addChildCount(int)
or #setChildCount(int)
.
Java documentation for android.view.ViewStructure.newChild(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.