androidx.compose.ui.node
MeasuredSizeAwareModifierNodeSince 1.11
Interface · from org.jetbrains.compose.ui:ui:1.12.2
No hand-written docs yet.
A androidx.compose.ui.Modifier.Node which receives a callback with the layout's measured size.
interface MeasuredSizeAwareModifierNode : DelegatableNode
Is a
Kinds of MeasuredSizeAwareModifierNode
Anywhere a MeasuredSizeAwareModifierNode is expected, you can pass any of these.
How to get one
Or create one of the kinds listed above.
Functions
onRemeasured
fun onRemeasured(size: IntSize)
This method is called when the layout content is remeasured. The most common usage is onSizeChanged.
Library docs
A androidx.compose.ui.Modifier.Node which receives a callback with the layout's measured size.
This is the androidx.compose.ui.Modifier.Node equivalent of
androidx.compose.ui.layout.OnRemeasuredModifier.
Example usage: