Function

SubcomposeSlotReusePolicy

Creates SubcomposeSlotReusePolicy which retains the fixed amount of slots.

SubcomposeSlotReusePolicy

Source set: Common
fun SubcomposeSlotReusePolicy(maxSlotsToRetainForReuse: Int): SubcomposeSlotReusePolicy

Creates SubcomposeSlotReusePolicy which retains the fixed amount of slots.

Parameters

maxSlotsToRetainForReuse the SubcomposeLayout will retain up to this amount of slots.

Last updated: