protected override void Dispose(bool disposing) { base.Dispose(disposing); if (printButtonItem != null) { printButtonItem.Dispose(); printButtonItem = null; } if (details != null) { details.Dispose(); details = null; } }
void ShowRecipe (Recipe recipe, bool animated) { details = new RecipeDetailViewController (recipe); NavigationController.PushViewController (details, animated); }
protected override void Dispose (bool disposing) { base.Dispose (disposing); if (printButtonItem != null) { printButtonItem.Dispose (); printButtonItem = null; } if (details != null) { details.Dispose (); details = null; } }
public RecipeDetailSource (RecipeDetailViewController controller) { this.controller = controller; }
void ShowRecipe(Recipe recipe, bool animated) { details = new RecipeDetailViewController(recipe); NavigationController.PushViewController(details, animated); }
public RecipeDetailSource(RecipeDetailViewController controller) { this.controller = controller; }