But what if we want, Selection without select with long click?
Banner LMA
1

You can start selection mode via a mechanism called “selection hotspot” without long tap. If you want single-tap to select, just override inSelectionHotspot(e: MotionEvent) to return true.


object : ItemDetails<String>() {
override fun getPosition() = holder.adapterPosition
override fun getSelectionKey() = holder.itemId
override fun inSelectionHotspot(e: MotionEvent) = true
}

The official documentation for the selection hotspot can be found here.
https://developer.android.com/reference/androidx/recyclerview/selection/ItemDetailsLookup.ItemDetails.html