epoxy-adapter / com.airbnb.epoxy / OnModelLongClickListener / onLongClick

onLongClick

abstract fun onLongClick(model: T, parentView: V, clickedView: View!, position: Int): Boolean

Called when the view bound to the model is clicked.

Parameters

model - T: The model that the view is bound to.

parentView - V: The view bound to the model which received the click.

clickedView - View!: The view that received the click. This is either a child of the parentView or the parentView itself

position - Int: The position of the model in the adapter.