getItemId

open fun getItemId(position: Int): Long(source)

Default implementation works for collections that don't add, move, remove items.

When overriding, also override containsItem.

If the item is not a part of the collection, return NO_ID.

Return

stable item id hasStableIds

Parameters

position

Adapter position