public void Init(ForumsNavigationArgs args) { if (args == null) { ViewModelLocator.NavMgr.ResetMainBackNav(); ViewModelLocator.NavMgr.RegisterBackNav(PageIndex.PageAnimeList, null); args = new ForumsNavigationArgs { Page = ForumsPageIndex.PageIndex }; } CurrentBackNavRegistrar = null; NavigationRequested?.Invoke(args.Page, args); }
protected override void OnNavigatedTo(NavigationEventArgs e) { _args = e.Parameter as ForumsNavigationArgs; base.OnNavigatedTo(e); }
public ForumMainPageFragment(ForumsNavigationArgs args) { _args = args; }