private void GalleryTab_OnSelected(object sender, RoutedEventArgs e) { QueryStartUp(); MessageQueue.Enqueue("正在获取收藏夹..."); PixivHelper.DoIterate(new GalleryIterator(Identity.Global.Id), ImageListViewNewItemSource()); }
private void FollowingTab_OnSelected(object sender, RoutedEventArgs e) { QueryStartUp(); MessageQueue.Enqueue("正在获取关注列表..."); PixivHelper.DoIterate(new UserFollowingIterator(Identity.Global.Id), NewItemsSource <User>(UserPreviewListView)); }
private void RankingTab_OnSelected(object sender, RoutedEventArgs e) { QueryStartUp(); MessageQueue.Enqueue("正在获取每日推荐的作品..."); PixivHelper.DoIterate(new RankingIterator(), ImageListViewNewItemSource(), true); }
private void UpdateIllustTab_OnSelected(object sender, RoutedEventArgs e) { QueryStartUp(); MessageQueue.Enqueue("正在获取关注用户的最新作品..."); PixivHelper.DoIterate(new UserUpdateIterator(), ImageListViewNewItemSource()); }
private void SpotlightTab_OnSelected(object sender, RoutedEventArgs e) { QueryStartUp(); var iterator = new SpotlightQueryIterator(Settings.Global.SpotlightQueryStart, Settings.Global.QueryPages); PixivHelper.DoIterate(iterator, NewItemsSource <SpotlightArticle>(SpotlightListView), true); }
private void SetupUserGallery(string id) { PixivHelper.DoIterate(new GalleryIterator(id), NewItemsSource <Illustration>(UserIllustsImageListView)); }
private void QueryWorks(string keyword) { QueryStartUp(); PixivHelper.DoIterate(new QueryIterator(keyword, Settings.Global.QueryStart), NewItemsSource <Illustration>(ImageListView), true); }
private void TryQueryUser(string keyword) { QueryStartUp(); PixivHelper.DoIterate(new UserPreviewIterator(keyword), NewItemsSource <User>(UserPreviewListView)); }
private void SetupFavorite() { atUploadSelector = false; PixivHelper.DoIterate(new GalleryIterator(user.Id), UiHelper.NewItemsSource <Illustration>(ImageListView)); }
private void SetupUploads() { atUploadSelector = true; PixivHelper.DoIterate(new UploadIterator(user.Id), UiHelper.NewItemsSource <Illustration>(ImageListView)); }