private void ShowLabelsSelector() { var viewController = new IssueLabelsView { Title = "Labels" }; viewController.ViewModel = ViewModel.Labels; NavigationController.PushViewController(viewController, true); }
private void ShowLabelsSelector() { var viewController = new IssueLabelsView { Title = "Labels" }; viewController.ViewModel = ViewModel.Labels; viewController.NavigationItem.LeftBarButtonItem = new UIBarButtonItem(Images.Cancel, UIBarButtonItemStyle.Done, (s, e) => { ViewModel.Labels.SelectLabelsCommand.ExecuteIfCan(); viewController.DismissViewController(true, null); }); PresentViewController(new ThemedNavigationController(viewController), true, null); }