Closed NandayDev closed 1 year ago
To show a dialog, you can either use these straightforward functions to simply show some text with an "OK" button to dismiss it:
or instantiate an AlertDialogBuilder, with different parameters, and then invoke show(). I added a comment on each property (lines 18-52), let me know should you have any question
Can you show us how can we display a dialog, after importing the class? Thank you
@mikev-cw Top comment updated
To show a dialog, you can either use these straightforward functions to simply show some text with an "OK" button to dismiss it:
or instantiate an AlertDialogBuilder, with different parameters, and then invoke show(). I added a comment on each property (lines 18-52), let me know should you have any question