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)

Resizes the layout based on constraints, returning a Placeable layout that has its new size.

Inherited functions

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

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

Resizes the layout based on constraints, returning a Placeable layout that has its new size. A Measurable can only be measured once inside a layout pass.