Is there a way to intercept a request made by AsyncHttpClient and do some operations based on the request data. I want to do something like this: is something like this possible? Answer I did it using ‘filters’. Similarly you can add a request filter
Tag: asynchttpclient
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-database/parser?ingr=red&app_id=8ff4be18&app_key=f2bf020e6d3cf1a9989c2a2163fb720f Currently, this code IS inputting the correct food names into the apiFoods ArrayList