Getting an error while load data from API to Spinner

Hello everyone, please help me.
I got this error when the spinner was loading data, but the spinner still success to get the data after the error appeared

this is my block

and this is the API

the index in list block returns 0 if the thing you are looking for was not found in the list


Is your code working?

You are using spinner elements of your own. Instead of it, why don’t you use the above method? If so you can take the index or the selection directly. Based on the selection index you can anyother items from anylist for the same index number

Thank you, its work and more simple :grinning:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.