onFailedToRecycleView

open fun onFailedToRecycleView(holder: T): Boolean

Called if the RecyclerView failed to recycle this model's view. You can take this opportunityto clear the animation(s) that affect the View's transient state and return trueso that the View can be recycled. Keep in mind that the View in question is already removedfrom the RecyclerView.

Return

True if the View should be recycled, false otherwise

See also

com.airbnb.epoxy.EpoxyAdapter

EpoxyAdapter#onFailedToRecycleView(androidx.recyclerview.widget.RecyclerView.ViewHolder)