Interface

LazyLayoutMeasurePolicy

Source set: Common
public interface LazyLayoutMeasurePolicy

Functions

measure

Source set: Common
public fun LazyLayoutMeasureScope.measure(constraints: Constraints): MeasureResult

The function that defines the measurement and layout. For each item in this LazyLayout we should call LazyLayoutMeasureScope.compose and then call Measurable.measure with the child Constraints to be used.

Parameters

constraints The constraints used to measure this Lazy 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: