private async void LaunchWeather() { var user_position = await LocationManager.GetCityAsync(); weeks_weather = await WeatherProxy.GetWeekWeatherAsync(user_position); Bindings.Update(); // place.Text = weeks_weather.ElementAt(0).Day; }
public async void setWeather() { RootObject myWeather = await WeatherProxy.getWeather(); weer.Text = "het is momenteel " + ((int)myWeather.main.temp).ToString() + " graden"; }