androidx.compose.foundation.lazy
Interfaces
LazyGridScope |
Receiver scope which is used by LazyVerticalGrid. |
LazyItemScope |
Receiver scope being used by the item content parameter of LazyColumn/Row. |
LazyListItemInfo |
Contains useful information about an individual item in lazy lists like LazyColumn or LazyRow. |
LazyListLayoutInfo |
Contains useful information about the currently displayed layout state of lazy lists like LazyColumn or LazyRow. |
LazyListScope |
Receiver scope which is used by LazyColumn and LazyRow. |
Classes
GridCells |
This class describes how cells form columns in vertical grids or rows in horizontal grids. |
LazyListState |
A state object that can be hoisted to control and observe scrolling |
Annotations
LazyScopeMarker |
DSL marker used to distinguish between lazy layout scope and the item scope. |
Top-level functions summary
Unit |
LazyColumn(modifier: Modifier = Modifier, state: LazyListState = rememberLazyListState(), contentPadding: PaddingValues = PaddingValues(0.dp), reverseLayout: Boolean = false, verticalArrangement: Arrangement.Vertical = if (!reverseLayout) Arrangement.Top else Arrangement.Bottom, horizontalAlignment: Alignment.Horizontal = Alignment.Start, flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(), content: LazyListScope.() -> Unit) The vertically scrolling list that only composes and lays out the currently visible items. |
Unit |
LazyRow(modifier: Modifier = Modifier, state: LazyListState = rememberLazyListState(), contentPadding: PaddingValues = PaddingValues(0.dp), reverseLayout: Boolean = false, horizontalArrangement: Arrangement.Horizontal = if (!reverseLayout) Arrangement.Start else Arrangement.End, verticalAlignment: Alignment.Vertical = Alignment.Top, flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(), content: LazyListScope.() -> Unit) The horizontally scrolling list that only composes and lays out the currently visible items. |
Unit |
LazyVerticalGrid(cells: GridCells, modifier: Modifier = Modifier, state: LazyListState = rememberLazyListState(), contentPadding: PaddingValues = PaddingValues(0.dp), content: LazyGridScope.() -> Unit) The DSL implementation of a lazy grid layout. |
LazyListState |
rememberLazyListState(initialFirstVisibleItemIndex: Int = 0, initialFirstVisibleItemScrollOffset: Int = 0) Creates a LazyListState that is remembered across compositions. |
Extension functions summary
For LazyListScope | |