How do you get the selected value of a spinner -- Android
- by Matthew Hall
Hi everyone, I'm trying to get the selected items string out of a spinner. So far I've got this:
bundle.putString(ListDbAdapter.DB_PRI, v.getText().toString());
This doesn'y work and gives a casting exception (I thought you could cast a view to a widget that inherits it... obviously not!). So how do you get the selected value of a spinner