Lines Matching refs:bundle

44             Bundle bundle = new Bundle();  in toBundle()  local
45 bundle.putString(Constants.RECIPE_FIELD_STEP_TEXT, stepText); in toBundle()
46 bundle.putString(Constants.RECIPE_FIELD_STEP_IMAGE, stepImage); in toBundle()
47 return bundle; in toBundle()
50 public static RecipeStep fromBundle(Bundle bundle) { in fromBundle() argument
52 recipeStep.stepText = bundle.getString(Constants.RECIPE_FIELD_STEP_TEXT); in fromBundle()
53 recipeStep.stepImage = bundle.getString(Constants.RECIPE_FIELD_STEP_IMAGE); in fromBundle()
96 Bundle bundle = new Bundle(); in toBundle() local
97 bundle.putString(Constants.RECIPE_FIELD_TITLE, titleText); in toBundle()
98 bundle.putString(Constants.RECIPE_FIELD_SUMMARY, summaryText); in toBundle()
99 bundle.putString(Constants.RECIPE_FIELD_IMAGE, recipeImage); in toBundle()
100 bundle.putString(Constants.RECIPE_FIELD_INGREDIENTS, ingredientsText); in toBundle()
106 bundle.putParcelableArrayList(Constants.RECIPE_FIELD_STEPS, stepBundles); in toBundle()
108 return bundle; in toBundle()
111 public static Recipe fromBundle(Bundle bundle) { in fromBundle() argument
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()
118 bundle.getParcelableArrayList(Constants.RECIPE_FIELD_STEPS); in fromBundle()