Ejemplo n.º 1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            this.bindableProgress = new BindableProgress(View);

            this.CustomizeNavigationBar();

            this.annotationManager = new AnnotationManager(this.Map);
            this.Map.Delegate = new MapDelegate();

            this.SetUpBindings();
        }
Ejemplo n.º 2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            this.annotationManager = new AnnotationManager(this.Map);
            this.Map.Delegate = new MapDelegate(/* customize layout */ true);

            this.Map.AddGestureRecognizer(new UITapGestureRecognizer(_ =>
                {
                    this.VehiclesInMapViewModel.SelectedVehicle = null;
                }));

            this.tableViewSource = new SearchTableViewSource(this.SelectedVehicleTable);
            this.SelectedVehicleTable.Source = this.tableViewSource;
            this.SelectedVehicleTable.ReloadData();

            this.SetUpBindings();
        }