public RegionDetailHomeVM(RegionItem regionItem) { regionAPI = new RegionAPI(); _region = regionItem; ID = regionItem.tid; //RegionName = regionItem.name; RefreshCommand = new RelayCommand(Refresh); LoadMoreCommand = new RelayCommand(LoadMore); }
public RegionDetailChildVM(RegionChildrenItem regionItem) { regionAPI = new RegionAPI(); Orders = new List <RegionChildOrderModel>() { //new RegionChildOrderModel("默认排序",""), new RegionChildOrderModel("最新视频", "senddate"), new RegionChildOrderModel("最多播放", "view"), new RegionChildOrderModel("评论最多", "reply"), new RegionChildOrderModel("弹幕最多", "danmaku"), new RegionChildOrderModel("最多收藏", "favorite") }; SelectOrder = Orders[0]; _region = regionItem; ID = regionItem.tid; RegionName = regionItem.name; RefreshCommand = new RelayCommand(Refresh); LoadMoreCommand = new RelayCommand(LoadMore); }
public RegionVM() { regionAPI = new RegionAPI(); }