Exemplo n.º 1
0
        public DataSource(WeatherTableViewController weatherTableViewController)
        {
            this.weatherTableViewController = weatherTableViewController;
            WeatherRequests request = new WeatherRequests();

            DepartmentList = request.GetListDepartamentShortInfo();
        }
Exemplo n.º 2
0
        private void LoadingDepartmentData()
        {
            WeatherRequests request = new WeatherRequests();

            listOfDepartamens = request.GetListDepartamentShortInfo();
            //WeatherData oneW = request.GetAllInfoOneCity("Cochabamba", "Bolivia");
            // Create your application here
            RunOnUiThread(() => {
                adapter.Items = listOfDepartamens;
                adapter.NotifyDataSetChanged();
                _progress.Dismiss();
            });
            Task.Delay(1000);
        }