ArrayAdapter<T>.GetPosition(T) Method

Definition

Returns the position of the specified item in the array.

[Android.Runtime.Register("getPosition", "(Ljava/lang/Object;)I", "GetGetPosition_Ljava_lang_Object_Handler")]
public int GetPosition(T item);
[<Android.Runtime.Register("getPosition", "(Ljava/lang/Object;)I", "GetGetPosition_Ljava_lang_Object_Handler")>]
override this.GetPosition : 'T -> int

Parameters

item
T

T : The item to retrieve the position of.

Returns

The position of the specified item.

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.

Java documentation for ArrayAdapter.

Applies to