Interface

SubspaceLayoutModifierNode

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

Source set: Android
public interface SubspaceLayoutModifierNode : DelegatableSubspaceNode

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

Based on androidx.compose.ui.node.LayoutModifierNode.

Functions

measure

Source set: Android
public fun SubspaceMeasureScope.measure(
        measurable: SubspaceMeasurable,
        constraints: VolumeConstraints,
    ): SubspaceMeasureResult

Defines the measurement and layout of the SubspaceMeasurable within the given SubspaceMeasureScope.

The measurable is subject to the specified VolumeConstraints.

Parameters

measurable the content to be measured.
constraints the constraints within which the measurement should occur.

Return

a SubspaceMeasureResult encapsulating the size and alignment lines of the measured layout.

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: