Table of Contents

Class ArrayAdapter<T>

Namespace
Android.Widget
Assembly
MASES.Netdroid.dll
public class ArrayAdapter<T> : JVMBridgeBase<ArrayAdapter<T>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IFilterable, IThemedSpinnerAdapter

Type Parameters

T
Inheritance
ArrayAdapter<T>
Implements
Extension Methods

Constructors

ArrayAdapter(Context, int)

public ArrayAdapter(Context arg0, int arg1)

Parameters

arg0 Context

Context

arg1 int

int

ArrayAdapter(Context, int, List<T>)

public ArrayAdapter(Context arg0, int arg1, List<T> arg2)

Parameters

arg0 Context

Context

arg1 int

int

arg2 List<T>

List

ArrayAdapter(Context, int, int)

public ArrayAdapter(Context arg0, int arg1, int arg2)

Parameters

arg0 Context

Context

arg1 int

int

arg2 int

int

ArrayAdapter(Context, int, int, List<T>)

public ArrayAdapter(Context arg0, int arg1, int arg2, List<T> arg3)

Parameters

arg0 Context

Context

arg1 int

int

arg2 int

int

arg3 List<T>

List

ArrayAdapter(Context, int, int, T[])

public ArrayAdapter(Context arg0, int arg1, int arg2, T[] arg3)

Parameters

arg0 Context

Context

arg1 int

int

arg2 int

int

arg3 T[]

T

ArrayAdapter(Context, int, T[])

public ArrayAdapter(Context arg0, int arg1, T[] arg2)

Parameters

arg0 Context

Context

arg1 int

int

arg2 T[]

T

ArrayAdapter(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ArrayAdapter(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Add(T)

public void Add(T arg0)

Parameters

arg0 T

T

AddAll(params T[])

public void AddAll(params T[] arg0)

Parameters

arg0 T[]

T

AddAll<Arg0ExtendsT>(Collection<Arg0ExtendsT>)

public void AddAll<Arg0ExtendsT>(Collection<Arg0ExtendsT> arg0) where Arg0ExtendsT : T

Parameters

arg0 Collection<Arg0ExtendsT>

Collection

Type Parameters

Arg0ExtendsT

T

Clear()

public void Clear()

CreateFromResource(Context, int, int)

public static ArrayAdapter<CharSequence> CreateFromResource(Context arg0, int arg1, int arg2)

Parameters

arg0 Context

Context

arg1 int

int

arg2 int

int

Returns

ArrayAdapter<CharSequence>

ArrayAdapter

CreatePoolableInstance(Context, int)

HPA initializer for ArrayAdapter(Android.Content.Context arg0, int arg1)

public static ArrayAdapter<T> CreatePoolableInstance(Context arg0, int arg1)

Parameters

arg0 Context
arg1 int

Returns

ArrayAdapter<T>

CreatePoolableInstance(Context, int, List<T>)

HPA initializer for ArrayAdapter(Android.Content.Context arg0, int arg1, Java.Util.List%3CT%3E arg2)

public static ArrayAdapter<T> CreatePoolableInstance(Context arg0, int arg1, List<T> arg2)

Parameters

arg0 Context
arg1 int
arg2 List<T>

Returns

ArrayAdapter<T>

CreatePoolableInstance(Context, int, int)

HPA initializer for ArrayAdapter(Android.Content.Context arg0, int arg1, int arg2)

public static ArrayAdapter<T> CreatePoolableInstance(Context arg0, int arg1, int arg2)

Parameters

arg0 Context
arg1 int
arg2 int

Returns

ArrayAdapter<T>

CreatePoolableInstance(Context, int, int, List<T>)

HPA initializer for ArrayAdapter(Android.Content.Context arg0, int arg1, int arg2, Java.Util.List%3CT%3E arg3)

public static ArrayAdapter<T> CreatePoolableInstance(Context arg0, int arg1, int arg2, List<T> arg3)

Parameters

arg0 Context
arg1 int
arg2 int
arg3 List<T>

Returns

ArrayAdapter<T>

CreatePoolableInstance(Context, int, int, T[])

HPA initializer for ArrayAdapter(Android.Content.Context arg0, int arg1, int arg2, T[] arg3)

public static ArrayAdapter<T> CreatePoolableInstance(Context arg0, int arg1, int arg2, T[] arg3)

Parameters

arg0 Context
arg1 int
arg2 int
arg3 T[]

Returns

ArrayAdapter<T>

CreatePoolableInstance(Context, int, T[])

HPA initializer for ArrayAdapter(Android.Content.Context arg0, int arg1, T[] arg2)

public static ArrayAdapter<T> CreatePoolableInstance(Context arg0, int arg1, T[] arg2)

Parameters

arg0 Context
arg1 int
arg2 T[]

Returns

ArrayAdapter<T>

GetContext()

public Context GetContext()

Returns

Context

Context

GetDropDownViewTheme()

public Resources.Theme GetDropDownViewTheme()

Returns

Resources.Theme

Resources.Theme

GetFilter()

public Filter GetFilter()

Returns

Filter

Filter

GetPosition(T)

public int GetPosition(T arg0)

Parameters

arg0 T

T

Returns

int

int

Insert(T, int)

public void Insert(T arg0, int arg1)

Parameters

arg0 T

T

arg1 int

int

Remove(T)

public void Remove(T arg0)

Parameters

arg0 T

T

SetDropDownViewResource(int)

public void SetDropDownViewResource(int arg0)

Parameters

arg0 int

int

SetDropDownViewTheme(Theme)

public void SetDropDownViewTheme(Resources.Theme arg0)

Parameters

arg0 Resources.Theme

Resources.Theme

SetNotifyOnChange(bool)

public void SetNotifyOnChange(bool arg0)

Parameters

arg0 bool

bool

Sort<Arg0objectSuperT>(Comparator<Arg0objectSuperT>)

public void Sort<Arg0objectSuperT>(Comparator<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Comparator<Arg0objectSuperT>

Comparator

Type Parameters

Arg0objectSuperT

T

Operators

implicit operator ArrayAdapter(ArrayAdapter<T>)

Converter from ArrayAdapter<T> to ArrayAdapter

public static implicit operator ArrayAdapter(ArrayAdapter<T> t)

Parameters

t ArrayAdapter<T>

Returns

ArrayAdapter

implicit operator Filterable(ArrayAdapter<T>)

Converter from ArrayAdapter<T> to Filterable

public static implicit operator Filterable(ArrayAdapter<T> t)

Parameters

t ArrayAdapter<T>

Returns

Filterable

implicit operator ThemedSpinnerAdapter(ArrayAdapter<T>)

public static implicit operator ThemedSpinnerAdapter(ArrayAdapter<T> t)

Parameters

t ArrayAdapter<T>

Returns

ThemedSpinnerAdapter