AdapterView.GetItemIdAtPosition(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the item id at position.
[Android.Runtime.Register("getItemIdAtPosition", "(I)J", "GetGetItemIdAtPosition_IHandler")]
public virtual long GetItemIdAtPosition(int position);
[<Android.Runtime.Register("getItemIdAtPosition", "(I)J", "GetGetItemIdAtPosition_IHandler")>]
abstract member GetItemIdAtPosition : int -> int64
override this.GetItemIdAtPosition : int -> int64
Parameters
- position
- Int32
int
Returns
The ID of the item at the specified position, or InvalidRowId if no adapter is set or the position is negative.
- 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.
Java documentation for AdapterView.