Exemplo n.º 1
0
        private void ShowRegistrationStatus(Bundle arguments)
        {
            var trans = this.FragmentManager.BeginTransaction();
            var frag  = this.FragmentManager.FindFragmentByTag(AlertKey);

            if (frag != null)
            {
                this._registrationFailedFragment = (RegistrationFinishedFragmentAlert)frag;
                trans.Remove(this._registrationFailedFragment).Commit();
                trans.AddToBackStack(null);
            }
            else
            {
                this._registrationFailedFragment           = new RegistrationFinishedFragmentAlert();
                this._registrationFailedFragment.Arguments = arguments;
            }

            this._registrationFailedFragment.Show(this.FragmentManager, AlertKey);
        }
Exemplo n.º 2
0
 public void OnRegistrationFinished(Bundle arguments)
 {
     this._registrationFailedFragmentAlert           = new RegistrationFinishedFragmentAlert();
     this._registrationFailedFragmentAlert.Arguments = arguments;
     this._registrationFailedFragmentAlert.Show(GetFragmentManager(), "Customer");
 }