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 |
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, content: LazyListScope.() -> Unit) The vertically scrolling list that only composes and lays out the currently visible items. |
Unit |
LazyColumnFor(items: List<T>, 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, itemContent: LazyItemScope.(T) -> Unit) A vertically scrolling list that only composes and lays out the currently visible items. |
Unit |
LazyColumnForIndexed(items: List<T>, 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, itemContent: LazyItemScope.(index: Int, item: T) -> Unit) A 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, content: LazyListScope.() -> Unit) The horizontally scrolling list that only composes and lays out the currently visible items. |
Unit |
LazyRowFor(items: List<T>, 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, itemContent: LazyItemScope.(T) -> Unit) A horizontally scrolling list that only composes and lays out the currently visible items. |
Unit |
LazyRowForIndexed(items: List<T>, modifier: Modifier = Modifier, state: LazyListState = rememberLazyListState(), contentPadding: PaddingValues< |