protected override void Validated(IErrorCollection errors) { if (_firstText != null) { _firstText.RequestFocus(); _firstText = null; } }
protected override void Validated(IErrorCollection errors) { if (_firstText != null) { _firstText.BecomeFirstResponder(); } toastService.DisplayErrors(errors); }
public void DisplayErrors(IErrorCollection errors) { DisplayAlert("Error", errors.Format()); }
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(); }
protected abstract void Validated(IErrorCollection errors);
protected override void Validated(IErrorCollection errors) { if (_firstText != null) _firstText.BecomeFirstResponder(); toastService.DisplayErrors(errors); }