コード例 #1
0
        private void CloneListAndGoToEditView()
        {
            ShakeList listClon = __presenter.Clone();

            ShakeListEditorView listEditor = new ShakeListEditorView(listClon, true);
            UIViewController[] controllers = this.NavigationController.ViewControllers;
            controllers[controllers.Length - 1] = listEditor;
            this.NavigationController.SetViewControllers(controllers, true);
        }
コード例 #2
0
        private void GoToEditView()
        {
            ShakeList currentList = __presenter.GetModelList();
            ShakeListEditorView editorView = new ShakeListEditorView(currentList);

            this.NavigationController.PushViewController(editorView, true);
        }
コード例 #3
0
 private void Add_Clicked(object sender, EventArgs e)
 {
     this.NavigationController.ToolbarHidden = true;
     ShakeListEditorView newListView = new ShakeListEditorView();
     this.NavigationController.PushViewController(newListView, true);
 }