Skip to content
Advertisement

Tag: android

MapView black screen but no errors in Android

I am trying to display a location with a MapView but I can’t get it to work. I have already look into all the other threads with the same questions but the solutions don’t work for me. Here is what is supposed to work but doesn’t: I am new to Android Studio and just trying things out. I also already

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

Advertisement