setMaxRecycledViews
Sets the maximum number of ViewHolders to hold in the pool before discarding.
Parameters
viewType
ViewHolder Type
max
Maximum number
Sets the maximum number of ViewHolders to hold in the pool before discarding.
ViewHolder Type
Maximum number