public void NavigateToTemplate3(BottomTabBarViewModel fromViewModel) { var hostView = NavigationViewProvider.GetActivity <BottomTabBarActivity, BottomTabBarViewModel>(fromViewModel); var contentView = Template3Fragment.NewInstance(); hostView.SetRootContent(contentView, BottomTabBarItem.Template3); }
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); }