Skip to content

Instantly share code, notes, and snippets.

@MrNtlu
Created December 6, 2022 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrNtlu/ab4c153b0789342d6e7272f5cb871150 to your computer and use it in GitHub Desktop.
Save MrNtlu/ab4c153b0789342d6e7272f5cb871150 to your computer and use it in GitHub Desktop.
Bottom Sheet Activity Part 1
val coroutineScope = rememberCoroutineScope()
val modalSheetState = rememberModalBottomSheetState(
initialValue = ModalBottomSheetValue.Hidden,
confirmStateChange = { it != ModalBottomSheetValue.HalfExpanded },
skipHalfExpanded = true,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment