Exemplo n.º 1
0
 protected void ShowTaskDetails(TodoItem item)
 {
     currentItem   = item;
     taskDialog    = new TodoItemDialog(currentItem);
     context       = new BindingContext(this, taskDialog, "Task Details");
     detailsScreen = new DialogViewController(context.Root, true);
     ActivateController(detailsScreen);
 }
Exemplo n.º 2
0
        protected void ShowTaskDetails(TodoItem item)
        {
            transaction = TodoItemManager.BeginTransaction();
            item        = item ?? TodoItemManager.CreateTodoItem();

            currentItem   = item;
            taskDialog    = new TodoItemDialog(currentItem);
            context       = new BindingContext(this, taskDialog, "Task Details");
            detailsScreen = new DialogViewController(context.Root, true);
            ActivateController(detailsScreen);
        }