Exemplo n.º 1
0
 public HomeViewModel()
 {
     IsLoadingData = true;
     _news = new ObservableCollection<KurirNews>();
     _comments = new ObservableCollection<Comment>();
     _newsFactory = new KurirNewsRssFactory();
     _commentFactory = new CommentFactory();
     InitializeData();
 }
Exemplo n.º 2
0
 public VestViewModel()
 {
     _commentFactory = new CommentFactory();
     LoadComments();
 }