Beispiel #1
0
        public static ConfirmationFragment newInstance()
        {
            ConfirmationFragment fragment = new ConfirmationFragment();
            Bundle args = new Bundle();

            fragment.Arguments = args;
            return(fragment);
        }
Beispiel #2
0
        private void RegisterButton_Click(object sender, EventArgs e)
        {
            var trans = FragmentManager.BeginTransaction();
            var confirmationFragment = ConfirmationFragment.newInstance();

            trans.Replace(Resource.Id.LoginFragmentContainer, confirmationFragment);
            trans.AddToBackStack("LoginFragment");
            trans.Commit();
        }