public ForumsTopicNavigationArgs GetSelfBackNavArgs() { _prevArgs.FirstVisibleItemIndex = ScrollInfoProvider.GetFirstVisibleItemIndex(); _prevArgs.TopicPage = CurrentPage; _prevArgs.MessageId = null; return(_prevArgs); }
public void RegisterSelfBackNav() { _prevArgs.FirstVisibleItemIndex = ScrollInfoProvider.GetFirstVisibleItemIndex(); _prevArgs.TopicPage = CurrentPage; _prevArgs.MessageId = null; ViewModelLocator.NavMgr.RegisterBackNav(PageIndex.PageForumIndex, _prevArgs); }
public async void Reload() { if (LoadingTopic) { return; } var message = ScrollInfoProvider.GetFirstVisibleItemIndex(); await LoadCurrentTopicPageAsync(true); RequestScroll?.Invoke(this, message); }