protected void ShowTaskDetails(TaskItem task) { currentTask = task; taskDialog = new TaskDialog(task); var title = NSBundle.MainBundle.LocalizedString("Task Details", "Task Details"); context = new LocalizableBindingContext(this, taskDialog, title); detailsScreen = new DialogViewController(context.Root, true); ActivateController(detailsScreen); }
protected void ShowPropertyDetails(Property property) { currentProperty = property; propertyDialog = new PropertyDialog(property); var screenTitle = "Property Details"; _bindingContext = new LocalizableBindingContext(this, propertyDialog, screenTitle); detailsScreen = new DialogViewController(_bindingContext.Root, true); ActivateController(detailsScreen); }