Ejemplo n.º 1
0
        private void _GoToReadArticle(GoToReadArticle a)
        {
            NavigationService.Navigate(new Uri("/ReadArticle.xaml", UriKind.Relative));

            if (a.article.parent_list != null && a.article.order == a.article.parent_list.ArticleList.Count - 1)
                TaskEx.Run(() => a.article.parent_list.load_more());
        }
Ejemplo n.º 2
0
        private void _GoToReadArticle(GoToReadArticle a)
        {
            if (NavigationService.CurrentSource.OriginalString != "/ReadArticle.xaml")
                NavigationService.Navigate(new Uri("/ReadArticle.xaml?article_id=" + a.article.id, UriKind.Relative));

            if (a.article.parent_list != null && a.article.order == a.article.parent_list.ArticleList.Count - 1)
                Task.Run(() => a.article.parent_list.load_more());
        }