Wrapper class for Task, to use with MonoTouch.Dialog. If it was just iOS platform we could apply these attributes directly to the Task class, but because we share that with other platforms this wrapper provides a bridge to MonoTouch.Dialog.
Пример #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);
		}
Пример #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);
        }