Interface

SubspaceMeasuredSizeAwareModifierNode

A androidx.xr.compose.subspace.layout.SubspaceModifier.Node which receives callbacks when the layout it is attached to is remeasured.

Source set: Android
public interface SubspaceMeasuredSizeAwareModifierNode : DelegatableSubspaceNode

A androidx.xr.compose.subspace.layout.SubspaceModifier.Node which receives callbacks when the layout it is attached to is remeasured.

This is the androidx.xr.compose.subspace.layout.SubspaceModifier.Node equivalent of androidx.xr.compose.subspace.layout.onSizeChanged.

Functions

onRemeasured

Source set: Android
public fun onRemeasured(size: IntVolumeSize)

This method is called when the layout content is remeasured. The most common usage is androidx.xr.compose.subspace.layout.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: