setMeasurementCacheEnabled

open fun setMeasurementCacheEnabled(measurementCacheEnabled: Boolean)(source)

Sets whether RecyclerView should use its own measurement cache for the children. This is a more aggressive cache than the framework uses.

Parameters

measurementCacheEnabled

True to enable the measurement cache, false otherwise.

See also