public static ConfirmationFragment newInstance() { ConfirmationFragment fragment = new ConfirmationFragment(); Bundle args = new Bundle(); fragment.Arguments = args; return(fragment); }
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(); }