public async void Prueba()
        {
            weatherData = await _restService.GetWeatherData2Async();

            ObservableCollection <ValueN> lista_noticias = new ObservableCollection <ValueN>(weatherData);

            get_soluciones.ItemsSource = lista_noticias;
        }
Пример #2
0
        protected override async void OnAppearing()
        {
            if (weatherData.Count < 1)
            {
                weatherData = await _restService.GetWeatherData2Async();

                BindingContext = weatherData;
                OnAppearing();
            }
        }