Interface

Measurable

A part of the composition that can be measured.

Source set: Common
public interface Measurable : IntrinsicMeasurable

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

Functions

measure

Source set: Common
public fun measure(constraints: Constraints): Placeable

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

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: