Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }