📜  如何从微调器中收集选定的值 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:24.027000             🧑  作者: Mango

代码示例1
fields.getSelectedItem().toString()

//A one liner is all that is needed
//Change 'fields' to the variable name of the spinner you are dealing with.