コード例 #1
0
 public LiveRecommendItem(string title, string sort)
 {
     Title           = title;
     SortType        = sort;
     recommendAPI    = new Api.Live.LiveRecommendAPI();
     RefreshCommand  = new RelayCommand(Refresh);
     LoadMoreCommand = new RelayCommand(LoadMore);
     Items           = new ObservableCollection <LiveRecommendItemModel>();
 }
コード例 #2
0
 public LiveRecommendItemSource(List <LiveRecommendItemModel> items, string sort)
 {
     recommendAPI = new Api.Live.LiveRecommendAPI();
     sort_type    = sort;
     recommends   = items;
 }