🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

SubcomposeSlotReusePolicy

Creates SubcomposeSlotReusePolicy which retains the fixed amount of slots.

SubcomposeSlotReusePolicy

Source set: Common
public 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.

Content updated: