/// <summary> /// Submit button click event handler /// </summary> private void SubmitPassword() { if (_passwordEditText.Text != string.Empty) { if (_passwordEditText.Text == _passwordConfirmEditText.Text) { SecurityProvider.InitializeUser(_passwordEditText.Text, this); StartActivity(new Intent(this, typeof(MainPageActivity))); } else { Toast.MakeText(this, this.Resources.GetString(Resource.String.PasswordMissmatchError), ToastLength.Long).Show(); } } else { Toast.MakeText(this, this.Resources.GetString(Resource.String.EmptyPasswordError), ToastLength.Long).Show(); } }