androidx.compose.ui.layout

SubcomposeMeasureScope

Interface · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

The receiver scope of a SubcomposeLayout's measure lambda which adds ability to dynamically subcompose a content during the measuring on top of the features provided by MeasureScope.

interface SubcomposeMeasureScope : MeasureScope

Is a

Used by

Parameters that take a SubcomposeMeasureScope.

Functions

subcompose

fun subcompose(slotId: Any?, content: @Composable () -> Unit): List<Measurable>

Performs subcomposition of the provided content with given slotId.

Library docs

The receiver scope of a SubcomposeLayout's measure lambda which adds ability to dynamically subcompose a content during the measuring on top of the features provided by MeasureScope.