Interface

MeasuredSizeAwareModifierNode

A androidx.compose.ui.Modifier.Node which receives a callback with the layout's measured size.

Source set: Common
public interface MeasuredSizeAwareModifierNode : DelegatableNode

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:

Functions

onRemeasured

Source set: Common
public fun onRemeasured(size: IntSize)

This method is called when the layout content is remeasured. The most common usage is onSizeChanged.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: