示例#1
0
        public void NavigateToTemplate3(BottomTabBarViewModel fromViewModel)
        {
            var hostView    = NavigationViewProvider.GetActivity <BottomTabBarActivity, BottomTabBarViewModel>(fromViewModel);
            var contentView = Template3Fragment.NewInstance();

            hostView.SetRootContent(contentView, BottomTabBarItem.Template3);
        }
示例#2
0
        public void NavigateToTemplate3(SideBarMenuViewModel fromViewModel)
        {
            var fromView    = NavigationViewProvider.GetFragment <SideBarMenuFragment, SideBarMenuViewModel>(fromViewModel);
            var hostView    = (SideBarActivity)fromView.Activity;
            var contentView = Template3Fragment.NewInstance();

            hostView.SetRootContent(contentView, SideBarMenuItem.Template3);
        }