https://kotlinlang.org logo
#android
Title
# android
b

Brendan Weinstein

08/11/2020, 8:02 PM
hey anyone know if there's a way to get a DialogFragment (Bottom sheet DialogFragment) to be the root of a modal flow? Meaning I don't want it to be dismissed when I navigate from it to another fragment
i

Ian Lake

08/11/2020, 8:14 PM
Dialogs intercept the back button before anything else, so no, you can't build any stack on top of it
👍 1
b

Brendan Weinstein

08/11/2020, 8:23 PM
Thanks!
b

brandonmcansh

08/11/2020, 8:48 PM
Yeah you could have a nav graph in bottom sheet but not persist/remain showing on an external fragment change
👌 1