public override void ActionSheet(ActionSheetOptions options) {
     this.Dispatch(() => {
         var alert = new ActionSheetPopUp { Title = options.Title };
         alert.ActionPopUpButtons.Clear();
         options.Options.ToList().ForEach(x => alert.AddButton(x.Text, x.Action));
         alert.Show();
     });
 }
Esempio n. 2
0
 public override void ActionSheet(ActionSheetOptions options)
 {
     this.Dispatch(() => {
         var alert = new ActionSheetPopUp {
             Title = options.Title
         };
         alert.ActionPopUpButtons.Clear();
         options.Options.ToList().ForEach(x => alert.AddButton(x.Text, x.Action));
         alert.Show();
     });
 }