onViewRecycled

open override fun onViewRecycled(itemView: View)(source)

Cleans up any resources when the view is recycled. It removes the click listener from the itemView and sets the doAction to null.

Parameters

itemView

The view that was recycled.