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
ファイル: HomeScreen.cs プロジェクト: realm/realm-dotnet
        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);
        }