Beispiel #1
0
        public UserFollowVM(bool isfans)
        {
            userDetailAPI   = new UserDetailAPI();
            RefreshCommand  = new RelayCommand(Refresh);
            LoadMoreCommand = new RelayCommand(LoadMore);

            IsFans = isfans;
        }
Beispiel #2
0
 public UserSubmitVideoVM()
 {
     userDetailAPI              = new UserDetailAPI();
     RefreshSubmitVideoCommand  = new RelayCommand(Refresh);
     LoadMoreSubmitVideoCommand = new RelayCommand(LoadMore);
     Tlist = new ObservableCollection <SubmitVideoTlistItemModel>()
     {
         new SubmitVideoTlistItemModel()
         {
             name = "全部视频",
             tid  = 0
         }
     };
     SelectTid = Tlist[0];
 }
Beispiel #3
0
 public UserSubmitArticleVM()
 {
     userDetailAPI = new UserDetailAPI();
     RefreshSubmitArticleCommand  = new RelayCommand(Refresh);
     LoadMoreSubmitArticleCommand = new RelayCommand(LoadMore);
 }
Beispiel #4
0
 public UserDetailVM()
 {
     userDetailAPI    = new UserDetailAPI();
     followAPI        = new FollowAPI();
     AttentionCommand = new RelayCommand(DoAttentionUP);
 }
Beispiel #5
0
 public UserFavlistVM()
 {
     userDetailAPI   = new UserDetailAPI();
     RefreshCommand  = new RelayCommand(Refresh);
     LoadMoreCommand = new RelayCommand(LoadMore);
 }