Searched refs:recipe (Results 1 – 3 of 3) sorted by relevance
64 Recipe recipe = new Recipe(); in fromJson() local66 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() local113 recipe.titleText = bundle.getString(Constants.RECIPE_FIELD_TITLE); in fromBundle()[all …]
61 setContentView(R.layout.recipe); in onCreate()96 private void displayRecipe(Recipe recipe) { in displayRecipe() argument99 mTitleTextView.setText(recipe.titleText); in displayRecipe()100 mSummaryTextView.setText(recipe.summaryText); in displayRecipe()101 if (recipe.recipeImage != null) { in displayRecipe()103 Bitmap recipeImage = AssetUtils.loadBitmapAsset(this, recipe.recipeImage); in displayRecipe()106 mIngredientsTextView.setText(recipe.ingredientsText); in displayRecipe()117 for (Recipe.RecipeStep step : recipe.recipeSteps) { in displayRecipe()
8 This phone application uses the enhanced notifications API to display recipe10 … from a short list of recipes and select one to view. Each recipe is broken down into a number of13 page for each step in the recipe.