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(); }
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(); }