object都有string
object都有tostring
String item=spinner.getSelectedItem().toString();
String item01=String.valueOf(spinner.getSelectedItem());
这两种写法一致;
object都有tostring
String item=spinner.getSelectedItem().toString();
String item01=String.valueOf(spinner.getSelectedItem());
这两种写法一致;