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)
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: