Hello, is the AlertDialog usable in Compose Wear? If not, what would be an alternative component to use for similar interactions?
Andrew Leung
11/24/2021, 9:31 PM
For example, a screen that can take up the whole space, show some description text, a confirm button, dismiss button, and even better, can be swipe to dismissed
you can get access to the latest snapshot release or they will be available next week in the alpha12 release
s
Steve Bower [G]
11/26/2021, 4:53 PM
There are two styles of dialog in this release - AlertDialog which is along the lines that Andrew described above, supports icon/title/message and either positive/negative Buttons or a stack of Chips. AlertDialog is also swipe dismissable. ConfirmationDialog is for simple acknowledgements - shows icon + title and self-dismisses after a timeout.