Obviously, the spinner should show the array of the name of the cities, but in the backend (what's returned from the submition of the form is the value.
is there any resource on the internet describing every type of spinner layouts? I'm using simple_spinner_item but I find it too small. Any suggestions?
nmc wrote:The simplest way would be using Spinner.getSelectedItemPosition() as index to your numbers-array.
Well, the thing is the index can change anytime so I really need a ID of the item. I am fetching JSON
Users browsing this forum: No registered users and 9 guests