I think i’ve asked this once before but did not ge...
# compose
m
I think i’ve asked this once before but did not get a reply from anyone. I’m wondering if there’s any good way to ues ModalBottomSheetLayout without having the top most layer know about all the possible modal sheets that might appear. In the old world, you’d create a BottomSheetDialog somewhere in your code and call the .show() function. The way it works in compose it seems like the top container needs to know about all the possible dialogs. I had tried to remember a composable function, but that seems to not really work.
b
m
I'm aware of this library @brabo-hi But this particular activity is a legacy activity that's not using a navigation controller, nor is it even using compose. I'm looking to add fragments built with compose. I suppose i could always build a BottomSheetDialogFragment and just use compose for it's view contents.