Udostępnij za pośrednictwem


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