{"action":"created","issue":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/160","labels_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/160/comments","events_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/160/events","html_url":"https://github.com/RobotiumTech/robotium/issues/160","id":101902833,"number":160,"title":"isSpinnerTextSelected wrong result","user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/bug","name":"bug","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T14:09:56Z","updated_at":"2015-08-19T14:09:58Z","closed_at":null,"body":"_From [JoaRe...@gmail.com](https://code.google.com/u/112856617907425013321/) on March 08, 2011 01:41:26_\n\nWhat steps will reproduce the problem? 1. Choose an item in a Spinner\r\n2. call Solo.isSpinnerTextSelected(itemtext)\r\n3. call Solo.searchText(itemtext) What is the expected output? What do you see instead? expected:\r\n2. true\r\n3. true\r\ninstead:\r\n2. false\r\n3. true What version of the product are you using? On what operating system? 2.2 Please provide any additional information below. In Checker.java the function\r\npublic boolean isSpinnerTextSelected(int spinnerIndex, String text)\r\nthe line: \r\nTextView textView = (TextView) spinner.getChildAt(0);\r\nWhy the zero value?\r\nWhy not like this:\r\nTextView textView = (TextView) spinner.getChildAt(spinner.getSelectedItemPosition()); ?\n\n_Original issue: http://code.google.com/p/robotium/issues/detail?id=81_"},"comment":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/comments/132611444","html_url":"https://github.com/RobotiumTech/robotium/issues/160#issuecomment-132611444","issue_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/160","id":132611444,"user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T14:09:58Z","updated_at":"2015-08-19T14:09:58Z","body":"_From [renasr...@gmail.com](https://code.google.com/u/108052454046732184536/) on March 08, 2011 02:36:56_\n\nThanks for this. It will be fixed in the next version.\n\n**Status:** Accepted  \n  **Owner:** renasreda  \n"}}