Lenguaje

ViewStructure.NewChild(Int32) Método

Definición

Cree un nuevo elemento secundario ViewStructure en esta vista, colocando en la lista de elementos secundarios en <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

Parámetros

index
Int32

Valor System.Int32 usado para el índice.

Devoluciones

Devuelve un nuevo ViewStructure listo para rellenarse.

Atributos

Comentarios

Cree un nuevo elemento secundario ViewStructure en esta vista, colocando en la lista de elementos secundarios en <var>index</var>.

<b>NOTA: </b>debe asignar previamente espacio para el elemento secundario, llamando a #addChildCount(int) o #setChildCount(int).

Java documentación para android.view.ViewStructure.newChild(int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a