Here is the definition of getItemId() when enabling multiselection in a recyclerview:
Return the stable ID for the item at position
and for getSelectionKey()
return the selectionkey of an item
the selectionkey is the stable ID, isn't it? Google does not define it or is the definition hidden somewhere?