DelegatableSubspaceNode

interface DelegatableSubspaceNode

Known direct subclasses
CompositionLocalConsumerSubspaceModifierNode

Implementing this interface allows your SubspaceModifier.Node subclass to read CompositionLocals via the currentValueOf function.

LayoutCoordinatesAwareModifierNode

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

SubspaceLayoutModifierNode

A specialized SubspaceModifier.Node responsible for modifying the measurement and layout behavior of its wrapped content within the Subspace environment.

SubspaceModifier.Node

The longer-lived object that is created for each SubspaceModifierNodeElement applied to a SubspaceLayout


Represents a SubspaceModifier.Node which can be a delegate of another SubspaceModifier.Node. Since SubspaceModifier.Node implements this interface, in practice any SubspaceModifier.Node can be delegated.

Summary

Public properties

SubspaceModifier.Node

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

Public properties

node

Added in 1.0.0-alpha07
val nodeSubspaceModifier.Node

A reference of the SubspaceModifier.Node that holds this node's position in the node hierarchy. If the node is a delegate of another node, this will point to the root delegating node that is actually part of the node tree. Otherwise, this will point to itself.