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(); }
public override void ViewDidLoad() { base.ViewDidLoad(); this.bindableProgress = new BindableProgress(View); this.tableViewSource = new MyRidesTableViewSource(this.TableView); this.SetUpBindings(); this.TableView.Source = this.tableViewSource; this.TableView.ReloadData(); }
private void CustomizeLayout() { this.AddRatingControl(); this.downloadInvoiceButton = new UIBarButtonItem("Invoice", UIBarButtonItemStyle.Plain, this.DownloadAndShowInvoiceAsync); this.NavigationItem.SetRightBarButtonItem(this.downloadInvoiceButton, true); this.saveButton = new UIBarButtonItem(UIBarButtonSystemItem.Save, this.ExecuteSaveCommand); this.SegmentedControl.ValueChanged += this.ShowOrHideSubviews; this.bindableProgress = new BindableProgress(View); this.View.AddGestureRecognizer(new UITapGestureRecognizer(_ => this.CommentTextBox.ResignFirstResponder())); this.CustomizeCommentTextBox(); }