Last active
March 13, 2018 22:09
-
-
Save DavidMellul/e58ccedb2b0a9aed6c5061fc8ab0bb89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alertDialogBuilder | |
| .setMessage("Click yes to exit!") | |
| .setCancelable(false) | |
| .setPositiveButton("Yes",new DialogInterface.OnClickListener() { | |
| public void onClick(DialogInterface dialog,int id) { | |
| // Stuff | |
| } | |
| }) | |
| .setNegativeButton("No",new DialogInterface.OnClickListener() { | |
| public void onClick(DialogInterface dialog,int id) { | |
| // Stuff | |
| } | |
| }) | |
| .create() | |
| .show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment