Created
July 10, 2012 17:19
-
-
Save zvineyard/3084842 to your computer and use it in GitHub Desktop.
Android: Get Spinner Value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final Spinner sp = (Spinner) findViewById(R.id.state); | |
| String state = sp.getSelectedItem().toString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment