Sdílet prostřednictvím


HeaderViewListAdapter.GetItemId(Int32) Method

Definition

Get the row id associated with the specified position in the list.

[Android.Runtime.Register("getItemId", "(I)J", "GetGetItemId_IHandler")]
public virtual long GetItemId (int position);
[<Android.Runtime.Register("getItemId", "(I)J", "GetGetItemId_IHandler")>]
abstract member GetItemId : int -> int64
override this.GetItemId : int -> int64

Parameters

position
Int32

The position of the item within the adapter's data set whose row id we want.

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