Hello, unfortunately I am not proficient in MIT APP, but I have to create a small application and problems have arisen.
In the application, I refer to the server and a PHP file that returns JSON code:
[{"id":2,"data_z":"2025-02-06","name":"Test"},{"id":3,"data_z":"2025-02-06","name":"Test2"},
{"id":4,"data_z":"2025-02-06","name":"Test3"}]
I need to get the data from this code and turn it into a spinner drop-down list, but I have no idea how to do it. I search the web, but unfortunately I can't cope. Maybe someone will help and show me how to do it. I will be very grateful
Here are some additional tips that might be helpful:
When you are asking for help with code, it is always helpful to include the code that you have already written. This will allow people to see what you have tried and give you more specific advice.
Be clear about what you are trying to achieve. The more specific you are, the easier it will be for people to help you.
Be patient. It may take some time to find someone who can help you.
I have no idea how to do it, I've been struggling for several hours and nothing. It seems simple, but I keep getting errors.
I have no idea how to create this spinner, fetching the parameters from the JSON I displayed the JSON in a text field, so it fetches it correctly, but I stopped there HELP