Example #1
0
            public BusStopDataSource(BusStopTable tvc)
            {
                _tvc = tvc;

                _busBuddy = new BusBuddy();
                _busBuddy.GetBusStops(response => {
                    _tvc.Response = response;
                    InvokeOnMainThread(() => _tvc.TableView.ReloadData());
                });
            }
Example #2
0
 public DeparturesDataSource(DeparturesTable tvc)
 {
     _tvc = tvc;
     _busBuddy = new BusBuddy();
 }