Example #1
0
 public HotItemSource(List <HotDataItemModel> items)
 {
     hotAPI         = new Api.Home.HotAPI();
     last_idx       = items.LastOrDefault().idx ?? "0";
     last_param     = items.LastOrDefault()?.param ?? "";
     this.hot_items = items;
 }
Example #2
0
 public HotVM()
 {
     hotAPI          = new Api.Home.HotAPI();
     RefreshCommand  = new RelayCommand(Refresh);
     LoadMoreCommand = new RelayCommand(LoadMore);
 }