what’s the proper way to implement multi model bot...
# compose
m
what’s the proper way to implement multi model bottom sheets in a screen (since the modalBottomSheetLayout accepts the screen content) ?
c
You can just represent the current bottom sheet as your state in your VM, and the bottom sheet can just have an if statement to show different "bottom" sheets.
l
Alternatively, if you use navigation-compose , you can use Navigation-Material.https://github.com/google/accompanist/tree/main/navigation-material