with Jetpack Compose Navigation as a destination?
When using
dialog()
, if i add a
AlertDialog
in the Composable, the user have to double click outside to dismiss both. And if I don’t use the
AlertDialog
then I will have to implement the title, text and buttons to have the same look and feel.
Do you have any suggestions?
Thanks a lot! ❤️
i
Ian Lake
09/24/2021, 2:33 PM
The dialog docs actually specifically mention that you should not be using a dialog destination for AlertDialog use cases - you'd just want to use the existing AlertDialog APIs directly in the destination wanting to show the dialog