言語

ArrayAdapter<T> コンストラクター

定義

オーバーロード

名前 説明
ArrayAdapter<T>(Context, Int32)

コンストラクター

ArrayAdapter<T>(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

ArrayAdapter<T>(Context, Int32, IList<T>)

コンストラクター

ArrayAdapter<T>(Context, Int32, Int32)

コンストラクター

ArrayAdapter<T>(Context, Int32, T[])

指定された配列によってサポートされるアダプターを作成します。

ArrayAdapter<T>(Context, Int32, Int32, IList<T>)

指定されたリストと項目のレイアウトに基づくアダプターを作成します。

ArrayAdapter<T>(Context, Int32, Int32, T[])

指定された配列と項目のレイアウトに基づくアダプターを作成します。

ArrayAdapter<T>(Context, Int32)

コンストラクター

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")]
public ArrayAdapter(Android.Content.Context context, int textViewResourceId);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")>]
new Android.Widget.ArrayAdapter<'T> : Android.Content.Context * int -> Android.Widget.ArrayAdapter<'T>

パラメーター

context
Context

Context : 現在のコンテキスト。

textViewResourceId
Int32

テキスト ビューのリソース ID 値。

属性

注釈

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

Javaドキュメント。

適用対象

ArrayAdapter<T>(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

public ArrayAdapter(IntPtr handle, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.ArrayAdapter<'T> : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.ArrayAdapter<'T>

パラメーター

handle
IntPtr

nativeint

Java ネイティブ インターフェイス (JNI) オブジェクト参照を含むIntPtr

transfer
JniHandleOwnership

JniHandleOwnership処理方法を示すhandle

注釈

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

適用対象

ArrayAdapter<T>(Context, Int32, IList<T>)

コンストラクター

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;ILjava/util/List;)V", "")]
public ArrayAdapter(Android.Content.Context context, int textViewResourceId, System.Collections.Generic.IList<T> objects);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;ILjava/util/List;)V", "")>]
new Android.Widget.ArrayAdapter<'T> : Android.Content.Context * int * System.Collections.Generic.IList<'T> -> Android.Widget.ArrayAdapter<'T>

パラメーター

context
Context

Context : 現在のコンテキスト。

textViewResourceId
Int32

int : 設定するレイアウト リソース内の TextView の ID

objects
IList<T>

List : ListView で表すオブジェクト。 この値を null にすることはできません。

属性

注釈

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

Javaドキュメント。

適用対象

ArrayAdapter<T>(Context, Int32, Int32)

コンストラクター

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;II)V", "")]
public ArrayAdapter(Android.Content.Context context, int resource, int textViewResourceId);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;II)V", "")>]
new Android.Widget.ArrayAdapter<'T> : Android.Content.Context * int * int -> Android.Widget.ArrayAdapter<'T>

パラメーター

context
Context

Context : 現在のコンテキスト。

resource
Int32

int : ビューをインスタンス化するときに使用するレイアウトを含むレイアウト ファイルのリソース ID。

textViewResourceId
Int32

int : 設定するレイアウト リソース内の TextView の ID

属性

注釈

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

Javaドキュメント。

適用対象

ArrayAdapter<T>(Context, Int32, T[])

指定された配列によってサポートされるアダプターを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;I[Ljava/lang/Object;)V", "")]
public ArrayAdapter(Android.Content.Context context, int textViewResourceId, T[] objects);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;I[Ljava/lang/Object;)V", "")>]
new Android.Widget.ArrayAdapter<'T> : Android.Content.Context * int * 'T[] -> Android.Widget.ArrayAdapter<'T>

パラメーター

context
Context

Context : 現在のコンテキスト。

textViewResourceId
Int32

int : 設定するレイアウト リソース内の TextView の ID

objects
T[]

このアダプターによって表されるオブジェクト。

属性

注釈

配列は固定サイズのバッキング コレクションとして使用されます。アダプター項目を追加または削除する操作はサポートされていません。

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

Javaドキュメント。

適用対象

ArrayAdapter<T>(Context, Int32, Int32, IList<T>)

指定されたリストと項目のレイアウトに基づくアダプターを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;IILjava/util/List;)V", "")]
public ArrayAdapter(Android.Content.Context context, int resource, int textViewResourceId, System.Collections.Generic.IList<T> objects);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;IILjava/util/List;)V", "")>]
new Android.Widget.ArrayAdapter<'T> : Android.Content.Context * int * int * System.Collections.Generic.IList<'T> -> Android.Widget.ArrayAdapter<'T>

パラメーター

context
Context

Context : 現在のコンテキスト。

resource
Int32

int : ビューをインスタンス化するときに使用するレイアウトを含むレイアウト ファイルのリソース ID。

textViewResourceId
Int32

int : 設定するレイアウト リソース内の TextView の ID

objects
IList<T>

このアダプターによって表されるオブジェクト。

属性

注釈

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

Javaドキュメント。

適用対象

ArrayAdapter<T>(Context, Int32, Int32, T[])

指定された配列と項目のレイアウトに基づくアダプターを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;II[Ljava/lang/Object;)V", "")]
public ArrayAdapter(Android.Content.Context context, int resource, int textViewResourceId, T[] objects);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;II[Ljava/lang/Object;)V", "")>]
new Android.Widget.ArrayAdapter<'T> : Android.Content.Context * int * int * 'T[] -> Android.Widget.ArrayAdapter<'T>

パラメーター

context
Context

Context : 現在のコンテキスト。

resource
Int32

int : ビューをインスタンス化するときに使用するレイアウトを含むレイアウト ファイルのリソース ID。

textViewResourceId
Int32

int : 設定するレイアウト リソース内の TextView の ID

objects
T[]

このアダプターによって表されるオブジェクト。

属性

注釈

配列は固定サイズのバッキング コレクションとして使用されます。アダプター項目を追加または削除する操作はサポートされていません。

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

Javaドキュメント。

適用対象