Start native apps faster with the Composables CLI ->
Interface

SubspaceLayoutAwareModifierNode

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

Source set: Android
public interface SubspaceLayoutAwareModifierNode : SubspaceMeasuredSizeAwareModifierNode

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

Functions

onPlaced

Source set: Android
public fun onPlaced(coordinates: SubspaceLayoutCoordinates)

onPlaced is called after the parent SubspaceModifier and parent layout has been placed and before child SubspaceModifier is placed. This allows child SubspaceModifier to adjust its own placement based on where the parent is.

Parameters

coordinates The layout coordinates of the node.

onRemeasured

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