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); }
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); }