public static GetStaredChooseTopicsFragment NewInstance() { var fragment = new GetStaredChooseTopicsFragment { Arguments = new Bundle() }; return(fragment); }
public override bool OnOptionsItemSelected(IMenuItem item) { switch (item.ItemId) { case Resource.Id.action_next: var user = new User { FirstName = firstName.Text, LastName = lastName.Text, Postcode = postCode.Text }; SignUpFragment.ViewModel.UpdateInfoCommand.Execute(user); FragmentManager.BeginTransaction().Replace(Resource.Id.content_frame, GetStaredChooseTopicsFragment.NewInstance()) .AddToBackStack(null).Commit(); break; } return(base.OnOptionsItemSelected(item)); }