SubspaceMeasuredSizeAwareModifierNode

interface SubspaceMeasuredSizeAwareModifierNode : DelegatableSubspaceNode

Known direct subclasses
SubspaceLayoutAwareModifierNode

A DelegatableSubspaceNode whose onPlaced callback is invoked when the layout coordinates of the layout node may have changed.


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.

Summary

Public functions

Unit

This method is called when the layout content is remeasured.

Inherited properties

From androidx.xr.compose.subspace.layout.DelegatableSubspaceNode
SubspaceModifier.Node

A reference of the SubspaceModifier.Node that holds this node's position in the node hierarchy.

Public functions

onRemeasured

Added in 1.0.0-alpha14
fun onRemeasured(size: IntVolumeSize): Unit

This method is called when the layout content is remeasured. The most common usage is androidx.xr.compose.subspace.layout.onSizeChanged.