Measurable

interface Measurable : IntrinsicMeasurable
androidx.ui.core.Measurable

A part of the composition that can be measured. This represents a layout. The instance should never be stored.

Summary

Public methods

abstract Placeable
measure(constraints: Constraints, layoutDirection: LayoutDirection)

Measures the layout with constraints and a layoutDirection, returning a Placeable layout that has its new size.

Inherited functions

Inherited properties

Extension properties

From androidx.ui.core
Any?

Retrieves the tag associated to a composable with the LayoutTag modifier.

Public methods

measure

abstract fun measure(
    constraints: Constraints,
    layoutDirection: LayoutDirection
): Placeable

Measures the layout with constraints and a layoutDirection, returning a Placeable layout that has its new size. A Measurable can only be measured once inside a layout pass.