예제 #1
0
 public void OnMessageTwoButtonDialog()
 {
     AGAlertDialog.ShowMessageDialog("Two Buttons", "This dialog has positive and negative button",
                                     "Ok", () => AGUIMisc.ShowToast("Positive button Click"),
                                     "No!", () => AGUIMisc.ShowToast("Negative button Click"),
                                     () => AGUIMisc.ShowToast("Dismissed"), AGDialogTheme.Dark);
 }
예제 #2
0
 public void OnMessageThreeButtonDialog()
 {
     AGAlertDialog.ShowMessageDialog("Three Buttons",
                                     "This dialog has positive, negative and neutral buttons button",
                                     "Ok", () => AGUIMisc.ShowToast("Positive button Click"),
                                     "No!", () => AGUIMisc.ShowToast("Negative button Click"),
                                     "Maybe!", () => AGUIMisc.ShowToast("Neutral button Click"),
                                     () => AGUIMisc.ShowToast("Dismissed"), AGDialogTheme.Light);
 }
예제 #3
0
 public void OnMessageSingleButtonDialog()
 {
     AGAlertDialog.ShowMessageDialog("Single Button", "This dialog has only positive button", "Ok",
                                     () => AGUIMisc.ShowToast("Positive button Click"), () => AGUIMisc.ShowToast("Dismissed"),
                                     AGDialogTheme.Dark);
 }