onItemLongClick

abstract fun onItemLongClick(    @NonNull view: View,     position: Int,     @NonNull data: T)

Called when a view has been long clicked.

Parameters

view

The view that was long clicked.

position

The position that was long clicked.

data

The data that was long clicked.