Example #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            _window = new UIWindow (UIScreen.MainScreen.Bounds);

            _busStopTable = new BusStopTable();
            _navigationController = new UINavigationController(_busStopTable);
            _window.RootViewController = _navigationController;
            _window.MakeKeyAndVisible();
            return true;
        }
Example #2
0
            public BusStopDataSource(BusStopTable tvc)
            {
                _tvc = tvc;

                _busBuddy = new BusBuddy();
                _busBuddy.GetBusStops(response => {
                    _tvc.Response = response;
                    InvokeOnMainThread(() => _tvc.TableView.ReloadData());
                });
            }
Example #3
0
 public BusStopDelegate(BusStopTable tvc)
 {
     _tvc = tvc;
 }