onViewDetachedFromWindow

open override fun onViewDetachedFromWindow(holder: SupportViewHolder)

Called when a view created by this adapter has been detached from its window.

Becoming detached from the window is not necessarily a permanent condition; the consumer of an Adapter's views may choose to cache views offscreen while they are not visible, attaching and detaching them as appropriate.

Parameters

holder

Holder of the view being detached