コード例 #1
0
        private async void PostSelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            PostAndReplies item = (sender as ListView).SelectedItem as PostAndReplies;

            if (item == null)
            {
                return;
            }

            PostAndReplies post = await entityReader.GetPost(item.Id, 0);

            PostAndReplyList.ItemsSource = post.Replies;
        }