Mehdi Haghgoo
07/30/2020, 6:07 PMDevesh Sanghvi
07/30/2020, 6:31 PMBottomDrawerLayout(
drawerState = state,
onStateChange = onStateChange,
gesturesEnabled = false,
drawerContent = {
AppDrawer { onStateChange(DrawerState.Closed) }
}){
Content ({ onStateChange(DrawerState.Opened) }, onBack)
}
AppDrawer is the Composable function for bottom sheet and Content is the Composable function for the main UI screen