//======================================================================================================================================== // PUBLIC OVERRIDES //======================================================================================================================================== public override void ViewDidLoad() { base.ViewDidLoad(); this._tableView = new UITableView(); this._source = new TableViewSource(); this._tableView.Source = _source; this.Add(this._tableView); Foundation.NSNotificationCenter.DefaultCenter.AddObserver(UIKeyboard.WillShowNotification, keyboardWillShow); Foundation.NSNotificationCenter.DefaultCenter.AddObserver(UIKeyboard.WillHideNotification, keyboardWillHide); }
//======================================================================================================================================== // PUBLIC OVERRIDES //======================================================================================================================================== public override void ViewDidLoad () { base.ViewDidLoad (); this._tableView = new UITableView (); this._source = new TableViewSource (); this._tableView.Source = _source; this.Add (this._tableView); Foundation.NSNotificationCenter.DefaultCenter.AddObserver (UIKeyboard.WillShowNotification, keyboardWillShow); Foundation.NSNotificationCenter.DefaultCenter.AddObserver (UIKeyboard.WillHideNotification, keyboardWillHide); }