📅  最后修改于: 2022-03-11 14:59:24.027000             🧑  作者: Mango
fields.getSelectedItem().toString()
//A one liner is all that is needed
//Change 'fields' to the variable name of the spinner you are dealing with.