onLongClick

open fun onLongClick(v: View): Boolean

Called when a view has been clicked and held.

Return

true if the callback consumed the long click, false otherwise.

Parameters

v

The view that was clicked and held.