Function

SubcomposeSlotReusePolicy

Creates [SubcomposeSlotReusePolicy] which retains the fixed amount of slots.

SubcomposeSlotReusePolicy

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.