Skip to content

Instantly share code, notes, and snippets.

@shoaibmushtaq25
Created December 4, 2024 07:56
Show Gist options
  • Save shoaibmushtaq25/a3ca3ad2d5433ad7bbb81785d96d9f36 to your computer and use it in GitHub Desktop.
Save shoaibmushtaq25/a3ca3ad2d5433ad7bbb81785d96d9f36 to your computer and use it in GitHub Desktop.
...
Box(
modifier = Modifier
.fillMaxSize()
.nestedScroll(connection)
) {
Column(modifier = Modifier.scrollable(
orientation = Orientation.Vertical,
// state for Scrollable, describes how consume scroll amount
state =
rememberScrollableState { delta ->
0f
}
)) {
ExpandedHeader(
modifier = Modifier,
)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment