setMaxRecycledViews

open fun setMaxRecycledViews(viewType: Int, max: Int)(source)

Sets the maximum number of ViewHolders to hold in the pool before discarding.

Parameters

viewType

ViewHolder Type

max

Maximum number