public MeetingsViewModel() { Meetings = new SuspendableObservableCollection <GroupedMeetingViewModel>(); _meetingService = App.Instance.GetInstance <IMeetingService>(); RefreshCommand = new RelayCommand(ForceRefresh); UpdateLastUpdateText(_meetingService.GetLastUpdateTime()); }
public MeetingsViewModel(IMeetingService meetingService) { Meetings = new SuspendableObservableCollection <GroupedMeetingViewModel>(); _meetingService = meetingService; RefreshCommand = new MvxCommand(ForceRefresh); _lastUpdate = _meetingService.GetLastUpdateTime(); }