unbind

open fun unbind(@NonNull() view: View)

Called when the view bound to this model is recycled. Subclasses can override this if theirview should release resources when it's recycled.

Note that bind can be called multiple times without an unbind call in betweenif the view has remained on screen to be reused across item changes. This means that you shouldnot rely on unbind to clear a view or model's state before bind is called again.

See also

com.airbnb.epoxy.EpoxyAdapter

EpoxyAdapter#onViewRecycled(EpoxyViewHolder)