Share via


AdapterView.GetItemAtPosition(Int32) Method

Definition

Gets the data associated with the specified position in the list.

[Android.Runtime.Register("getItemAtPosition", "(I)Ljava/lang/Object;", "GetGetItemAtPosition_IHandler")]
public virtual Java.Lang.Object? GetItemAtPosition (int position);
[<Android.Runtime.Register("getItemAtPosition", "(I)Ljava/lang/Object;", "GetGetItemAtPosition_IHandler")>]
abstract member GetItemAtPosition : int -> Java.Lang.Object
override this.GetItemAtPosition : int -> Java.Lang.Object

Parameters

position
Int32

Which data to get

Returns

The data associated with the specified position in the list

Attributes

Remarks

Gets the data associated with the specified position in the list.

Java documentation for android.widget.AdapterView.getItemAtPosition(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