コード例 #1
0
        private async void GetLocations()
        {
            var locations = await App.Database.GetItemsAsync();

            SavedLocations.Clear();

            foreach (var l in locations)
            {
                var w = await _weatherService.GetTemp(l.Zip, apikey);

                w.Zip = l.Zip;
                SavedLocations.Add(w);
            }
        }