Interface

SubspaceMeasureResult

Interface holding the size of the measured layout, as well as the children positioning logic.

Source set: Android
public interface SubspaceMeasureResult

Interface holding the size of the measured layout, as well as the children positioning logic.

Based on androidx.compose.ui.layout.MeasureResult.

Properties

width

Source set: Android
public val width: Int

The measured width of the layout, in pixels.

height

Source set: Android
public val height: Int

The measured height of the layout, in pixels.

depth

Source set: Android
public val depth: Int

The measured depth of the layout, in pixels.

Functions

placeChildren

Source set: Android
public fun placeChildren(placementScope: SubspacePlaceable.SubspacePlacementScope)

Used for positioning children. SubspacePlaceable.placeAt should be called on children inside placeChildren

Parameters

placementScope scope used to place the children of this 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: