コード例 #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            this._parentMenu = this.LoadMenu();

            this._list = this.LoadList<GeneralListLayout>();
            var source = this._list.InitializeSource(TableView);
            TableView.Source = source;
            TableView.ReloadData();

            if (this._parentMenu != null)
            {
                NavigationItem.SetRightBarButtonItem(
                    new UIBarButtonItem(UIBarButtonSystemItem.Action,
                                        (sender, e) => { this.ShowActionMenu(); }),
                    false);
            }
        }
コード例 #2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            this._parentMenu = this.LoadMenu();

            this._list = this.LoadList <GeneralListLayout>();
            var source = this._list.InitializeSource(TableView);

            TableView.Source = source;
            TableView.ReloadData();

            if (this._parentMenu != null)
            {
                NavigationItem.SetRightBarButtonItem(
                    new UIBarButtonItem(UIBarButtonSystemItem.Action,
                                        (sender, e) => { this.ShowActionMenu(); }),
                    false);
            }
        }