예제 #1
0
 public FollowingViewModel(string Id)
 {
     selectedMember      = new Models.Bloggy();
     followingCollection = new ObservableCollection <Models.Bloggy>();
     memberId            = Id;
     Init();
 }
예제 #2
0
 public BloggiesViewModels()
 {
     selectedBloggy  = new Models.Bloggy();
     bloggies        = new ObservableCollection <Models.Bloggy>();
     RefreshCommand  = new Command(Refresh);
     LoadMoreCommand = new Command(LoadMore);
     FollowCommand   = new Command <object>(OnFollowBloggy);
     SelectedCommand = new Command <object>(OnSelected);
     LoadAllBloggies();
 }