コード例 #1
0
        private void ListsSource_RowHasBeenSelected(object sender, SelectRowEventArgs e)
        {
            if (__table.Editing)
                return;

            this.NavigationController.ToolbarHidden = true;
            ShakeList list = __presenter.ListFrom(e.SelectedIndex);
            ShakeListViewerView listView = new ShakeListViewerView(list);

            this.NavigationController.PushViewController(listView, true);
        }
コード例 #2
0
        private void BeReplacedWithViewer()
        {
            UIViewController[] navigationControllers = this.NavigationController.ViewControllers;
            ShakeList listToView = __presenter.GetModelList();
            ShakeListViewerView listViewer = new ShakeListViewerView(listToView);
            navigationControllers[navigationControllers.Length - 1] = listViewer;

            this.NavigationController.SetViewControllers(navigationControllers, true);
        }