Example #1
0
        async void Suggestion_ItemTapped(object sender, ItemTappedEventArgs e)
        {
            var ingredient = e.Item as string;
            await vm.AddIngredientAsync(ingredient);

            SuggestionListView.SelectedItem = null;
            SuggestionListView.IsVisible    = false;
            IngredientsListView.IsVisible   = true;
            IngredientSearch.Text           = "";
            await Navigation.PushAsync(new ResultSearchPage(ingredient));
        }