Answers for "how to collect the selected value from spinner"

0

how to collect the selected value from spinner

fields.getSelectedItem().toString()

//A one liner is all that is needed
//Change 'fields' to the variable name of the spinner you are dealing with.
Posted by: Guest on February-20-2021

Code answers related to "how to collect the selected value from spinner"

Browse Popular Code Answers by Language