{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.foundation.lazy.grid

Annotations

LazyGridScopeMarker

DSL marker used to distinguish between lazy grid dsl scope and the item content scope.

Interfaces

GridCells

This class describes the count and the sizes of columns in vertical grids, or rows in horizontal grids.

LazyGridItemInfo

Contains useful information about an individual item in lazy grids like LazyVerticalGrid.

LazyGridItemScope

Receiver scope being used by the item content parameter of LazyVerticalGrid.

LazyGridItemSpanScope

Scope of lambdas used to calculate the spans of items in lazy grids.

LazyGridLayoutInfo

Contains useful information about the currently displayed layout state of lazy grids like LazyVerticalGrid.

LazyGridScope

Receiver scope which is used by LazyVerticalGrid.

Classes

GridCells.Adaptive

Defines a grid with as many rows or columns as possible on the condition that every cell has at least minSize space and all extra space distributed evenly.

GridCells.Fixed

Defines a grid with fixed number of rows or columns.

GridCells.FixedSize

Defines a grid with as many rows or columns as possible on the condition that every cell takes exactly size space.

GridItemSpan

Represents the span of an item in a LazyVerticalGrid.

LazyGridDslKt
LazyGridSpanKt
LazyGridState

A state object that can be hoisted to control and observe scrolling.

LazyGridStateKt
LazyGridState.Companion