public override void ViewDidLoad() { base.ViewDidLoad (); CurrentDatesTableView.RegisterNibForCellReuse (UINib.FromName (CommittedDatesCell.Key, NSBundle.MainBundle), CommittedDatesCell.Key); dataSource = new CurrentDatesTableSource (); CurrentDatesTableView.DataSource = dataSource; }
public override void ViewDidLoad() { base.ViewDidLoad (); // Perform any additional setup after loading the view, typically from a nib. HeaderLabel.Text = "LookingForDates_String".Localize(); FilterBtn.TouchUpInside += (object sender, EventArgs e) => { // handle date filtering }; CurrentDatesTableView.RegisterNibForCellReuse (UINib.FromName (CommittedDatesCell.Key, NSBundle.MainBundle), CommittedDatesCell.Key); dataSource = new CurrentDatesTableSource (); CurrentDatesTableView.DataSource = dataSource; }