{"action":"closed","issue":{"url":"https://api.github.com/repos/jaredrummler/Material-Spinner/issues/12","repository_url":"https://api.github.com/repos/jaredrummler/Material-Spinner","labels_url":"https://api.github.com/repos/jaredrummler/Material-Spinner/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/jaredrummler/Material-Spinner/issues/12/comments","events_url":"https://api.github.com/repos/jaredrummler/Material-Spinner/issues/12/events","html_url":"https://github.com/jaredrummler/Material-Spinner/issues/12","id":153724613,"number":12,"title":"Selecting the first item programmatically","user":{"login":"jeffreyguo87","id":16681690,"avatar_url":"https://avatars.githubusercontent.com/u/16681690?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyguo87","html_url":"https://github.com/jeffreyguo87","followers_url":"https://api.github.com/users/jeffreyguo87/followers","following_url":"https://api.github.com/users/jeffreyguo87/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyguo87/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyguo87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyguo87/subscriptions","organizations_url":"https://api.github.com/users/jeffreyguo87/orgs","repos_url":"https://api.github.com/users/jeffreyguo87/repos","events_url":"https://api.github.com/users/jeffreyguo87/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyguo87/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-09T08:17:02Z","updated_at":"2016-05-11T05:30:31Z","closed_at":"2016-05-11T05:30:31Z","body":"How do you select the first item in the spinner?\r\n\r\nI tried doing the following,\r\n\r\nspinner.setOnItemListeners(..){ ... };\r\n\r\nspinner.setSelectedIndex(2);\r\nspinner.setSelected(true);\r\n\r\nbut it doesn't seem to be working.\r\n\r\nThanks!"}}