public MainWeatherViewModel(IWeatherService weatherService, ISystemCacheService systemCache, IMvxNavigationService navigationService) { _navigationService = navigationService; _weatherService = weatherService; _systemCache = systemCache; MyCommand = new MvxAsyncCommand(DoMyCommand, MyCommandCanExecute); }
public WeatherViewModel(IWeatherService weatherService, IMvxNavigationService mvxNavigationService, ISystemCacheService systemCacheService) { _weatherService = weatherService; _navigationService = mvxNavigationService; _systemCacheService = systemCacheService; ButtonCommand = new MvxAsyncCommand(DoButtonCommand, CanDoButton); }
public DetailsViewModel(ISystemCacheService systemCacheService) { _systemCacheService = systemCacheService; ItemsWeather = new List <ItemWeather>(); }
public WeatherDetailsViewModel(ISystemCacheService systemCache) { MyListItems = new List <WeatherDetail>(); _systemCache = systemCache; }