Package-level declarations
Types
Link copied to clipboard
class LazyListValue(val modifier: Modifier = Modifier, val isVertical: Boolean, val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, val itemsBefore: Int, val itemsAfter: Int, val width: Constraint, val height: Constraint, val margin: Margin, val crossAxisAlignment: CrossAxisAlignment, val scrollItemIndex: ScrollItemIndex, val placeholder: List<WidgetValue> = listOf(), val items: List<WidgetValue> = listOf()) : WidgetValue
Link copied to clipboard
Link copied to clipboard
class RefreshableLazyListValue(val modifier: Modifier = Modifier, val isVertical: Boolean, val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, val itemsBefore: Int, val itemsAfter: Int, val refreshing: Boolean, val onRefresh: () -> Unit?, val width: Constraint, val height: Constraint, val margin: Margin, val crossAxisAlignment: CrossAxisAlignment, val scrollItemIndex: ScrollItemIndex, val pullRefreshContentColor: UInt, val placeholder: List<WidgetValue> = listOf(), val items: List<WidgetValue> = listOf()) : WidgetValue
Functions
Link copied to clipboard
suspend fun <R> RedwoodLazyLayoutTester(onBackPressedDispatcher: OnBackPressedDispatcher = NoOpOnBackPressedDispatcher, savedState: TestSavedState? = null, uiConfiguration: UiConfiguration = UiConfiguration(), body: suspend TestRedwoodComposition<List<WidgetValue>>.() -> R): R