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

            // Setup bindings

            _tableViewController           = Vm.Countdowns.GetController(CreatePersonCell, BindCellDelegate);
            _tableViewController.TableView = CountdownsTableView;
            //CountdownsTableView.Source = new GenericTableViewSource<CountdownViewItem>(Vm.Countdowns, CreatePersonCell, BindCellDelegate);

            AddTimerButton.SetCommand("TouchUpInside", Vm.AddCountdownCommand);
        }
        void ReleaseDesignerOutlets()
        {
            if (AddTimerButton != null)
            {
                AddTimerButton.Dispose();
                AddTimerButton = null;
            }

            if (CountdownsTableView != null)
            {
                CountdownsTableView.Dispose();
                CountdownsTableView = null;
            }
        }