epoxy-adapter / com.airbnb.epoxy / OnModelBoundListener

OnModelBoundListener

interface OnModelBoundListener<T : EpoxyModel<*>!, V : Any!>

Used to register an onBind callback with a generated model.

Functions

onModelBound

abstract fun onModelBound(model: T, view: V, position: Int): Unit

This will be called immediately after a model was bound, with the model and view that were bound together.