예제 #1
0
        public virtual FragmentNavigator.Destination AddFragmentDestination()
        {
            var destination = new FragmentNavigator.Destination(FragmentNavigator);

            destination.SetClassName(Java.Lang.Class.FromType(typeof(NavigationViewFragment)).CanonicalName);
            destination.Id = AView.GenerateViewId();
            NavGraph.AddDestination(destination);
            return(destination);
        }
예제 #2
0
        public static MauiFragmentNavDestination AddDestination(
            IPage page,
            NavigationPageHandler navigationPageHandler,
            NavGraph navGraph,
            FragmentNavigator navigator)
        {
            var destination = new MauiFragmentNavDestination(navigator, page, navigationPageHandler);

            navGraph.AddDestination(destination);
            return(destination);
        }