예제 #1
0
 public MainViewModel()
 {
     InfoItems = new ObservableCollection<InfoItemsViewModel>();
     Associtions = new List<Association>();
     NewsItems = new ObservableCollection<NewsItemViewModel>();
     ActivityItems = new ObservableCollection<ActivityItemsViewModel>();
     SchamperItems = new ObservableCollection<SchamperItemsViewModel>();
     RestoItems = new ObservableCollection<RestoItemsViewModel>();
     _offset = 0;
     _fromCache = false;
     UserPreference = new UserPreference();
 }
예제 #2
0
 public MainViewModel()
 {
     InfoItems      = new ObservableCollection <InfoItemsViewModel>();
     Associtions    = new List <Association>();
     NewsItems      = new ObservableCollection <NewsItemViewModel>();
     ActivityItems  = new ObservableCollection <ActivityItemsViewModel>();
     SchamperItems  = new ObservableCollection <SchamperItemsViewModel>();
     RestoItems     = new ObservableCollection <RestoItemsViewModel>();
     _offset        = 0;
     _fromCache     = false;
     UserPreference = new UserPreference();
 }