epoxy-adapter / com.airbnb.epoxy / OnModelUnboundListener

OnModelUnboundListener

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

Used to register an onUnbind callback with a generated model.

Functions

onModelUnbound

abstract fun onModelUnbound(model: T, view: V): Unit

This will be called immediately after a model is unbound from a view, with the view and model that were unbound.