Sdílet prostřednictvím


CursorAdapter.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 override long GetItemId (int position);
[<Android.Runtime.Register("getItemId", "(I)J", "GetGetItemId_IHandler")>]
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

Java documentation for android.widget.CursorAdapter.getItemId(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