Share via


ArrayAdapter<T> Constructors

Definition

Overloads

ArrayAdapter<T>(Context, Int32)

Constructor

ArrayAdapter<T>(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Constructor

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

ArrayAdapter<T>(Context, Int32)

Constructor

[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>

Parameters

context
Context
textViewResourceId
Int32
Attributes

Remarks

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

ArrayAdapter<T>(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

handle
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle handle

Remarks

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

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>

Parameters

context
Context
textViewResourceId
Int32
objects
IList<T>
Attributes

Remarks

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

ArrayAdapter<T>(Context, Int32, Int32)

Constructor

[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>

Parameters

context
Context
resource
Int32
textViewResourceId
Int32
Attributes

Remarks

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

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>

Parameters

context
Context
textViewResourceId
Int32
objects
T[]
Attributes

Remarks

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

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>

Parameters

context
Context
resource
Int32
textViewResourceId
Int32
objects
IList<T>
Attributes

Remarks

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

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>

Parameters

context
Context
resource
Int32
textViewResourceId
Int32
objects
T[]
Attributes

Remarks

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