Example #1
0
        private async void GetAllRecipe(SingleRecipe res)
        {
            await GetIngredients(res.id);
            await GetInstructions(res.id);

            SlctdResult    = res.title;
            BindingContext = this;
        }
Example #2
0
 public RecipeDetail(SingleRecipe res)
 {
     Ingredient         = new List <Ingredient>();
     Instructions       = new Instructions();
     SpoonacularService = new SpoonacularService();
     InitializeComponent();
     CheckedFav(res.id);
     GetAllRecipe(res);
 }