Пример #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad ();

            this.itemController = new ActiveItemTableController (_ItemTableView, this.todoTable);
            //			this.itemController.IsUpdatingChanged += (sender, e) =>
            //			{
            //				RefreshButton.Enabled =
            //					AddButton.Enabled =
            //						!this.itemController.IsUpdating;
            //			};

            _ItemTableView.Source = this.itemController;

            _MainView.AddSubview(_ItemTableView);
            this.View.AddSubview(_MainView);
            // Perform any additional setup after loading the view, typically from a nib.
        }
Пример #2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();


            this.itemController = new ActiveItemTableController(_ItemTableView, this.todoTable);
//			this.itemController.IsUpdatingChanged += (sender, e) =>
//			{
//				RefreshButton.Enabled =
//					AddButton.Enabled =
//						!this.itemController.IsUpdating;
//			};

            _ItemTableView.Source = this.itemController;

            _MainView.AddSubview(_ItemTableView);
            this.View.AddSubview(_MainView);
            // Perform any additional setup after loading the view, typically from a nib.
        }