Sdílet prostřednictvím


ArrayAdapter.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 override Java.Lang.Object? GetItem (int position);
[<Android.Runtime.Register("getItem", "(I)Ljava/lang/Object;", "GetGetItem_IHandler")>]
override this.GetItem : int -> Java.Lang.Object

Parameters

position
Int32

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

Returns

Implements

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