Share via


ArrayAdapter<T>.GetItem(Int32) Method

Definition

Get the data item associated with the specified position in the data set.

[Android.Runtime.Register("getItem", "(I)Ljava/lang/Object;", "GetGetItem_IHandler")]
public T? GetItem (int position);
[<Android.Runtime.Register("getItem", "(I)Ljava/lang/Object;", "GetGetItem_IHandler")>]
override this.GetItem : int -> 'T

Parameters

position
Int32

Position of the item whose data we want within the adapter's data set.

Returns

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