get selected value from a spinner code example
Example: 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.