onViewRecycled

open override fun onViewRecycled()(source)

Called when the view is recycled.

This method is responsible for cleaning up any resources held by the ViewHolder, such as click listeners or subscriptions. It removes any click listeners from the itemView and disposes of the disposable if it exists.