escodro

    escodro

    1 year ago
    Hello, everyone! 👋 Is it possible to use
    AlertDialog
    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

    1 year ago
    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