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); } }
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); }