public override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            //this.FragmentManager;
            this.navService = new FragmentNavigationService(this.FragmentManager, Resource.Id.content)
                .AnimatePush(Resource.Animation.slide_in_right, Resource.Animation.slide_out_left)
                .AnimatePop(Resource.Animation.slide_in_left, Resource.Animation.slide_out_right)
                .Register<string, Page2Fragment>();
        }
Beispiel #2
0
        public override Android.Support.V4.App.Fragment OnCreateNavigationService()
        {
            var nav = new FragmentNavigationService()
                      .Configure("Home", typeof(Home))
                      .Configure("BoilerDetails", typeof(BoilerDetails));

            nav.SetAnimations(
                R.Animation.Enter_from_right,
                R.Animation.Exit_to_left,
                R.Animation.Enter_from_left,
                R.Animation.Exit_to_right);

            return(nav);
        }