isLongSelectionClickable

abstract fun isLongSelectionClickable(view: View, decorator: ISelectionDecorator, id: ID): Boolean

Defines whether or not this current object can be consumed as a primary long click, or if in action mode should start the action mode and also select or deselect the item.

Return

true if in action mode to inform long click listener that the we have consumed the event, otherwise false

Parameters

id

item that has been clicked

decorator

selection or deselection decorator

view

the view holder parent of the clicked item