protected override void Validated(IErrorCollection errors)
 {
     if (_firstText != null)
     {
         _firstText.RequestFocus();
         _firstText = null;
     }
 }
Example #2
0
 protected override void Validated(IErrorCollection errors)
 {
     if (_firstText != null)
     {
         _firstText.BecomeFirstResponder();
     }
     toastService.DisplayErrors(errors);
 }
 protected override void Validated(IErrorCollection errors)
 {
     if (_firstText != null)
     {
         _firstText.RequestFocus();
         _firstText = null;
     }
 }
Example #4
0
 public void DisplayErrors(IErrorCollection errors)
 {
     DisplayAlert("Error", errors.Format());
 }
Example #5
0
 public ValidationMessage(IErrorCollection validation, object sender)
     : base(sender)
 {
     Validation = validation;
 }
 public void DisplayErrors(IErrorCollection errors)
 {
     var view = Toast.MakeText(_context, errors.Format(), ToastLength.Long);
     view.Show();
 }
 public ValidationMessage(IErrorCollection validation, object sender)
     : base(sender)
 {
     Validation = validation;
 }
Example #8
0
        public void DisplayErrors(IErrorCollection errors)
        {
            var view = Toast.MakeText(_context, errors.Format(), ToastLength.Long);

            view.Show();
        }
        public void DisplayErrors(IErrorCollection errors)
        {
			DisplayAlert("Error", errors.Format());
        }
 protected abstract void Validated(IErrorCollection errors);
 protected override void Validated(IErrorCollection errors)
 {
     if (_firstText != null)
         _firstText.BecomeFirstResponder();
     toastService.DisplayErrors(errors);
 }
 protected abstract void Validated(IErrorCollection errors);