/// <summary> /// Pushes the fragment onto the view stack. /// </summary> /// <param name="fragment">The fragment.</param> public void PushFragment(CrexBaseFragment fragment) { var oldFragment = Fragments.LastOrDefault(); var tx = FragmentManager.BeginTransaction(); tx.SetCustomAnimations(global::Android.Resource.Animator.FadeIn, global::Android.Resource.Animator.FadeOut, global::Android.Resource.Animator.FadeIn, global::Android.Resource.Animator.FadeOut); tx.Add(global::Android.Resource.Id.Content, fragment); Fragments.Add(fragment); InFragmentTransition = true; tx.Commit(); }