Lines Matching refs:recipeStep
38 public static class RecipeStep {
39 RecipeStep() { }
50 public static RecipeStep fromBundle(Bundle bundle) {
51 RecipeStep recipeStep = new RecipeStep();
52 recipeStep.stepText = bundle.getString(Constants.RECIPE_FIELD_STEP_TEXT);
53 recipeStep.stepImage = bundle.getString(Constants.RECIPE_FIELD_STEP_IMAGE);
54 return recipeStep;
57 ArrayList<RecipeStep> recipeSteps;
60 recipeSteps = new ArrayList<RecipeStep>();
81 RecipeStep recipeStep = new RecipeStep();
82 recipeStep.stepText = step.getString(Constants.RECIPE_FIELD_TEXT);
84 recipeStep.stepImage = step.getString(Constants.RECIPE_FIELD_IMAGE);
86 recipe.recipeSteps.add(recipeStep);
103 for (RecipeStep recipeStep : recipeSteps) {
104 stepBundles.add(recipeStep.toBundle());
121 recipe.recipeSteps.add(RecipeStep.fromBundle((Bundle) stepBundle));