コード例 #1
0
        private async void FeedDetailPivot_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (FeedDetailPivot != null)
            {
                NeedProgressRing?.Invoke(this, true);
                await provider.SetSelectedIndex(FeedDetailPivot.SelectedIndex);

                NeedProgressRing?.Invoke(this, false);
            }
        }
コード例 #2
0
        internal async void ChangeFeedSorting(int i)
        {
            if (i > 0 && hotReplyList != null)
            {
                hotReplyList.Visibility = Visibility.Collapsed;
            }
            NeedProgressRing?.Invoke(this, true);
            await provider.SetComboBoxSelectedIndex(i);

            NeedProgressRing?.Invoke(this, false);
        }