コード例 #1
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (printButtonItem != null)
            {
                printButtonItem.Dispose();
                printButtonItem = null;
            }

            if (details != null)
            {
                details.Dispose();
                details = null;
            }
        }
コード例 #2
0
		void ShowRecipe (Recipe recipe, bool animated)
		{
			details = new RecipeDetailViewController (recipe);

			NavigationController.PushViewController (details, animated);
		}
コード例 #3
0
		protected override void Dispose (bool disposing)
		{
			base.Dispose (disposing);

			if (printButtonItem != null) {
				printButtonItem.Dispose ();
				printButtonItem = null;
			}

			if (details != null) {
				details.Dispose ();
				details = null;
			}
		}
コード例 #4
0
			public RecipeDetailSource (RecipeDetailViewController controller)
			{
				this.controller = controller;
			}
コード例 #5
0
        void ShowRecipe(Recipe recipe, bool animated)
        {
            details = new RecipeDetailViewController(recipe);

            NavigationController.PushViewController(details, animated);
        }
コード例 #6
0
 public RecipeDetailSource(RecipeDetailViewController controller)
 {
     this.controller = controller;
 }