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 properties

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.