I want to show an error message if no item is selected from the AutoCompleteTextView. Here is my XML Java Code It is not working What am I doing wrong? Answer If I set an error on customerSpinnerLayout then it works Everything is the same as above you just have to change the condition It works for me. Best of
Tag: autocompletetextview
How to fill AutoCompleteTextView in Android with an API call?
I want to try to get a list of food items from an API and update the AutoCompleteTextView based on this. I’ve tried following the answer here but to no avail: https://stackoverflow.com/a/36799955/7429535 This is my code so far: You can see an example API response here: https://api.edamam.com/api/food-da…