Пример #1
0
        private async void lv_category_ItemClick(object sender, ItemClickEventArgs e)
        {
            var item = e.ClickedItem as FavoriteItem <Category>;

            if (item != null)
            {
                // set as not new post
                item.HasNew = false;

                var destCate = await PostHelper.GetCategory(item.Item.Id);

                if (destCate != null)
                {
                    Frame.Navigate(typeof(CategoryPostsPage), destCate);
                }
            }
        }