다음을 통해 공유


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

Parameters

position
Int32

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

Returns

The data at the specified position.

Implements

Attributes

Remarks

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

Java documentation for android.widget.Adapter.getItem(int).

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