private async Task InitializeGetWeatherAsync() { try { IsBusy = true; WeatherMainModel = await _weatherServices.GetWeatherDetails(_city); } finally { IsBusy = false; } }
private async Task InitializeGetWeatherAsync() { try { IsBusy = true; // set the ui property "IsRunning" to true(loading) in Xaml ActivityIndicator Control WeatherMainModel = await _weatherServices.GetWeatherDetails(_city); } finally { IsBusy = false; } }