Beispiel #1
0
        private void CheckCode(string text)
        {
            _codeEntry.Unfocus();

            if (!ReadCode?.Invoke(text) ?? true)
            {
                _dialog.Show();
            }
        }
Beispiel #2
0
        private void CheckCode(string text)
        {
            codeEntry.Unfocus();

            if (!ReadCode?.Invoke(text) ?? true)
            {
                DisplayAlert("Código erroneo", "El código que has introducido no es válido", "OK");
            }
            else
            {
                //await firebaseHelper.AddPerson(Convert.ToInt32(codeEntry.Text.Substring(7)), nameEntry.Text.ToUpper());
                //await DisplayAlert("Success", "Person Added Successfully to FireBase", "OK");
            }
        }