Share via


ViewStructure.AsyncNewChild(Int32) メソッド

定義

と同様 #newChildですが、呼び出し元は、返された子を非同期的に設定できます。

[Android.Runtime.Register("asyncNewChild", "(I)Landroid/view/ViewStructure;", "GetAsyncNewChild_IHandler", ApiSince=23)]
public abstract Android.Views.ViewStructure? AsyncNewChild (int index);
[<Android.Runtime.Register("asyncNewChild", "(I)Landroid/view/ViewStructure;", "GetAsyncNewChild_IHandler", ApiSince=23)>]
abstract member AsyncNewChild : int -> Android.Views.ViewStructure

パラメーター

index
Int32

戻り値

入力する準備ができている新しい ViewStructure を返します。

属性

注釈

と同様 #newChildですが、呼び出し元は、返された子を非同期的に設定できます。 返された ViewStructure を別のスレッドに転送して、コンテンツ (および子など) を構築できます。 完了したら、一部のスレッドは を呼び出 #asyncCommit して、非同期の作成が完了したことを含む ViewStructure を伝える必要があります。

<b>注: </b>または を#addChildCount(int)#setChildCount(int)呼び出して、最初に子の領域を事前に割り当てる必要があります。

android.view.ViewStructure.asyncNewChild(int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象