Thread
#compose
    Mehdi Haghgoo

    Mehdi Haghgoo

    2 years ago
    @Devesh Sanghvi what do you mean by BottomDrawableLayout? Is it a composable in Jetpack Compose? How do you create it? Could you please share some code?
    d

    Devesh Sanghvi

    2 years ago
    BottomDrawerLayout(
        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