UnboundViewPool

A RecyclerView.RecycledViewPool that does not limit the number of ViewHolders recycled.

This is meant to be shared across different RecyclerView to minimise ViewHolder inflation time and memory consumption, since RecyclerView will only create and bind the absolute minimum number of ViewHolders it really needs.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun getRecycledView(viewType: Int): RecyclerView.ViewHolder?
Link copied to clipboard
open override fun getRecycledViewCount(viewType: Int): Int
Link copied to clipboard
open override fun putRecycledView(viewHolder: RecyclerView.ViewHolder)
Link copied to clipboard
open override fun setMaxRecycledViews(viewType: Int, max: Int)