コード例 #1
0
 public VestiViewModel(string pageName)
 {
     IsLoadingData = true;
     _pageName     = pageName;
     _factory      = new KurirNewsRssFactory();
     LoadData();
 }
コード例 #2
0
 public HomeViewModel()
 {
     IsLoadingData   = true;
     _news           = new ObservableCollection <KurirNews>();
     _comments       = new ObservableCollection <Comment>();
     _newsFactory    = new KurirNewsRssFactory();
     _commentFactory = new CommentFactory();
     InitializeData();
 }