slartus
Albert Chang
@OptIn(ExperimentalFoundationApi::class) CompositionLocalProvider( LocalOverScrollConfiguration provides OverScrollConfiguration(Color.Transparent) ) { // Content }
CompositionLocalProvider( 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.
CompositionLocalProvider( LocalOverScrollConfiguration provides OverScrollConfiguration( drawPadding = PaddingValues((-Int.MAX_VALUE).dp) ) )
LocalOverScrollConfiguration provides null
A modern programming language that makes developers happier.