Lines Matching refs:recipe
64 Recipe recipe = new Recipe(); in fromJson() local
66 recipe.titleText = json.getString(Constants.RECIPE_FIELD_TITLE); in fromJson()
67 recipe.summaryText = json.getString(Constants.RECIPE_FIELD_SUMMARY); in fromJson()
69 recipe.recipeImage = json.getString(Constants.RECIPE_FIELD_IMAGE); in fromJson()
72 recipe.ingredientsText = ""; in fromJson()
74 recipe.ingredientsText += " - " in fromJson()
86 recipe.recipeSteps.add(recipeStep); in fromJson()
92 return recipe; in fromJson()
112 Recipe recipe = new Recipe(); in fromBundle() local
113 recipe.titleText = bundle.getString(Constants.RECIPE_FIELD_TITLE); in fromBundle()
114 recipe.summaryText = bundle.getString(Constants.RECIPE_FIELD_SUMMARY); in fromBundle()
115 recipe.recipeImage = bundle.getString(Constants.RECIPE_FIELD_IMAGE); in fromBundle()
116 recipe.ingredientsText = bundle.getString(Constants.RECIPE_FIELD_INGREDIENTS); in fromBundle()
121 recipe.recipeSteps.add(RecipeStep.fromBundle((Bundle) stepBundle)); in fromBundle()
124 return recipe; in fromBundle()