public MainPageViewModel()
 {
     appServices              = (Application.Current as App).AppServices;
     _dailyViewModel          = new DailyWeatherViewModel();
     _forecastViewModel       = new ObservableCollection <ForecastWeatherViewModel>();
     _detailedWeatheVM        = new DetailedWeatherViewModel();
     weatherService           = new WeatherService();
     AppServices.DataChanged += RefreshWeatherData;
 }
 public WeatherDetailPage(DetailedWeatherViewModel detailedWeather)
 {
     InitializeComponent();
     BindingContext = detailedWeather;
 }