RemoteViewsService.IRemoteViewsFactory.GetItemId(Int32) Method

Definition

See Adapter#getItemId(int).

[Android.Runtime.Register("getItemId", "(I)J", "GetGetItemId_IHandler:Android.Widget.RemoteViewsService/IRemoteViewsFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long GetItemId (int position);
[<Android.Runtime.Register("getItemId", "(I)J", "GetGetItemId_IHandler:Android.Widget.RemoteViewsService/IRemoteViewsFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetItemId : int -> int64

Parameters

position
Int32

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

Returns

The id of the item at the specified position.

Attributes

Remarks

See Adapter#getItemId(int).

Java documentation for android.widget.RemoteViewsService.RemoteViewsFactory.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