slartus
10/07/2021, 5:13 AMAlbert Chang
10/07/2021, 5:54 AM@OptIn(ExperimentalFoundationApi::class)
CompositionLocalProvider(
LocalOverScrollConfiguration provides OverScrollConfiguration(Color.Transparent)
) {
// Content
}
Albert Chang
10/07/2021, 5:54 AMslartus
10/07/2021, 6:02 AMCompositionLocalProvider(
LocalOverScrollConfiguration provides OverScrollConfiguration(Color.Transparent)
) {
LazyColumn(
Modifier.fillMaxSize()
) {
items.map {
item {
Text(
text = "item $it", modifier = Modifier
.fillMaxSize()
.height(54.dp)
)
}
}
}
}
Also there is #compose.ok, thnx
slartus
10/07/2021, 6:09 AMCompositionLocalProvider(
LocalOverScrollConfiguration provides OverScrollConfiguration(
drawPadding = PaddingValues((-Int.MAX_VALUE).dp)
)
)
how you think - is that good idea?Albert Chang
10/07/2021, 6:55 AMLocalOverScrollConfiguration provides null
.slartus
10/07/2021, 6:59 AM