{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/arcadefire/nice-spinner/pulls/15","id":49720003,"html_url":"https://github.com/arcadefire/nice-spinner/pull/15","diff_url":"https://github.com/arcadefire/nice-spinner/pull/15.diff","patch_url":"https://github.com/arcadefire/nice-spinner/pull/15.patch","issue_url":"https://api.github.com/repos/arcadefire/nice-spinner/issues/15","number":15,"state":"open","locked":false,"title":"Fix race condition with listeners and getSelectedIndex().","user":{"login":"colinrtwhite","id":5580160,"avatar_url":"https://avatars.githubusercontent.com/u/5580160?v=3","gravatar_id":"","url":"https://api.github.com/users/colinrtwhite","html_url":"https://github.com/colinrtwhite","followers_url":"https://api.github.com/users/colinrtwhite/followers","following_url":"https://api.github.com/users/colinrtwhite/following{/other_user}","gists_url":"https://api.github.com/users/colinrtwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/colinrtwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinrtwhite/subscriptions","organizations_url":"https://api.github.com/users/colinrtwhite/orgs","repos_url":"https://api.github.com/users/colinrtwhite/repos","events_url":"https://api.github.com/users/colinrtwhite/events{/privacy}","received_events_url":"https://api.github.com/users/colinrtwhite/received_events","type":"User","site_admin":false},"body":"If getSelectedIndex() is called from within an item click/selection listener it will report the previous value. This can cause race conditions if the onClick/Selection listener triggers a threaded operation. This pull request fixes that.","created_at":"2015-11-04T17:35:48Z","updated_at":"2015-11-04T17:35:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arcadefire/nice-spinner/pulls/15/commits","review_comments_url":"https://api.github.com/repos/arcadefire/nice-spinner/pulls/15/comments","review_comment_url":"https://api.github.com/repos/arcadefire/nice-spinner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arcadefire/nice-spinner/issues/15/comments","statuses_url":"https://api.github.com/repos/arcadefire/nice-spinner/statuses/6c2a06418fc64acf995028e3eace6ad2cc65133a","head":{"label":"colinrtwhite:fix-race-condition","ref":"fix-race-condition","sha":"6c2a06418fc64acf995028e3eace6ad2cc65133a","user":{"login":"colinrtwhite","id":5580160,"avatar_url":"https://avatars.githubusercontent.com/u/5580160?v=3","gravatar_id":"","url":"https://api.github.com/users/colinrtwhite","html_url":"https://github.com/colinrtwhite","followers_url":"https://api.github.com/users/colinrtwhite/followers","following_url":"https://api.github.com/users/colinrtwhite/following{/other_user}","gists_url":"https://api.github.com/users/colinrtwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/colinrtwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinrtwhite/subscriptions","organizations_url":"https://api.github.com/users/colinrtwhite/orgs","repos_url":"https://api.github.com/users/colinrtwhite/repos","events_url":"https://api.github.com/users/colinrtwhite/events{/privacy}","received_events_url":"https://api.github.com/users/colinrtwhite/received_events","type":"User","site_admin":false},"repo":{"id":45554684,"name":"nice-spinner","full_name":"colinrtwhite/nice-spinner","owner":{"login":"colinrtwhite","id":5580160,"avatar_url":"https://avatars.githubusercontent.com/u/5580160?v=3","gravatar_id":"","url":"https://api.github.com/users/colinrtwhite","html_url":"https://github.com/colinrtwhite","followers_url":"https://api.github.com/users/colinrtwhite/followers","following_url":"https://api.github.com/users/colinrtwhite/following{/other_user}","gists_url":"https://api.github.com/users/colinrtwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/colinrtwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinrtwhite/subscriptions","organizations_url":"https://api.github.com/users/colinrtwhite/orgs","repos_url":"https://api.github.com/users/colinrtwhite/repos","events_url":"https://api.github.com/users/colinrtwhite/events{/privacy}","received_events_url":"https://api.github.com/users/colinrtwhite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colinrtwhite/nice-spinner","description":"A nice spinner for Android","fork":true,"url":"https://api.github.com/repos/colinrtwhite/nice-spinner","forks_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/forks","keys_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/teams","hooks_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/hooks","issue_events_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/issues/events{/number}","events_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/events","assignees_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/assignees{/user}","branches_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/branches{/branch}","tags_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/tags","blobs_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/git/refs{/sha}","trees_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/statuses/{sha}","languages_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/languages","stargazers_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/stargazers","contributors_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/contributors","subscribers_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/subscribers","subscription_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/subscription","commits_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/commits{/sha}","git_commits_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/git/commits{/sha}","comments_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/comments{/number}","issue_comment_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/issues/comments{/number}","contents_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/contents/{+path}","compare_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/merges","archive_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/downloads","issues_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/issues{/number}","pulls_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/pulls{/number}","milestones_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/milestones{/number}","notifications_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/labels{/name}","releases_url":"https://api.github.com/repos/colinrtwhite/nice-spinner/releases{/id}","created_at":"2015-11-04T17:15:17Z","updated_at":"2015-11-04T17:15:17Z","pushed_at":"2015-11-04T17:30:35Z","git_url":"git://github.com/colinrtwhite/nice-spinner.git","ssh_url":"git@github.com:colinrtwhite/nice-spinner.git","clone_url":"https://github.com/colinrtwhite/nice-spinner.git","svn_url":"https://github.com/colinrtwhite/nice-spinner","homepage":"","size":224,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"arcadefire:master","ref":"master","sha":"49e387ed553168e5456c66e0be4c2754799c52ee","user":{"login":"arcadefire","id":3945083,"avatar_url":"https://avatars.githubusercontent.com/u/3945083?v=3","gravatar_id":"","url":"https://api.github.com/users/arcadefire","html_url":"https://github.com/arcadefire","followers_url":"https://api.github.com/users/arcadefire/followers","following_url":"https://api.github.com/users/arcadefire/following{/other_user}","gists_url":"https://api.github.com/users/arcadefire/gists{/gist_id}","starred_url":"https://api.github.com/users/arcadefire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcadefire/subscriptions","organizations_url":"https://api.github.com/users/arcadefire/orgs","repos_url":"https://api.github.com/users/arcadefire/repos","events_url":"https://api.github.com/users/arcadefire/events{/privacy}","received_events_url":"https://api.github.com/users/arcadefire/received_events","type":"User","site_admin":false},"repo":{"id":40086818,"name":"nice-spinner","full_name":"arcadefire/nice-spinner","owner":{"login":"arcadefire","id":3945083,"avatar_url":"https://avatars.githubusercontent.com/u/3945083?v=3","gravatar_id":"","url":"https://api.github.com/users/arcadefire","html_url":"https://github.com/arcadefire","followers_url":"https://api.github.com/users/arcadefire/followers","following_url":"https://api.github.com/users/arcadefire/following{/other_user}","gists_url":"https://api.github.com/users/arcadefire/gists{/gist_id}","starred_url":"https://api.github.com/users/arcadefire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcadefire/subscriptions","organizations_url":"https://api.github.com/users/arcadefire/orgs","repos_url":"https://api.github.com/users/arcadefire/repos","events_url":"https://api.github.com/users/arcadefire/events{/privacy}","received_events_url":"https://api.github.com/users/arcadefire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arcadefire/nice-spinner","description":"A nice spinner for Android","fork":false,"url":"https://api.github.com/repos/arcadefire/nice-spinner","forks_url":"https://api.github.com/repos/arcadefire/nice-spinner/forks","keys_url":"https://api.github.com/repos/arcadefire/nice-spinner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arcadefire/nice-spinner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arcadefire/nice-spinner/teams","hooks_url":"https://api.github.com/repos/arcadefire/nice-spinner/hooks","issue_events_url":"https://api.github.com/repos/arcadefire/nice-spinner/issues/events{/number}","events_url":"https://api.github.com/repos/arcadefire/nice-spinner/events","assignees_url":"https://api.github.com/repos/arcadefire/nice-spinner/assignees{/user}","branches_url":"https://api.github.com/repos/arcadefire/nice-spinner/branches{/branch}","tags_url":"https://api.github.com/repos/arcadefire/nice-spinner/tags","blobs_url":"https://api.github.com/repos/arcadefire/nice-spinner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arcadefire/nice-spinner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arcadefire/nice-spinner/git/refs{/sha}","trees_url":"https://api.github.com/repos/arcadefire/nice-spinner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arcadefire/nice-spinner/statuses/{sha}","languages_url":"https://api.github.com/repos/arcadefire/nice-spinner/languages","stargazers_url":"https://api.github.com/repos/arcadefire/nice-spinner/stargazers","contributors_url":"https://api.github.com/repos/arcadefire/nice-spinner/contributors","subscribers_url":"https://api.github.com/repos/arcadefire/nice-spinner/subscribers","subscription_url":"https://api.github.com/repos/arcadefire/nice-spinner/subscription","commits_url":"https://api.github.com/repos/arcadefire/nice-spinner/commits{/sha}","git_commits_url":"https://api.github.com/repos/arcadefire/nice-spinner/git/commits{/sha}","comments_url":"https://api.github.com/repos/arcadefire/nice-spinner/comments{/number}","issue_comment_url":"https://api.github.com/repos/arcadefire/nice-spinner/issues/comments{/number}","contents_url":"https://api.github.com/repos/arcadefire/nice-spinner/contents/{+path}","compare_url":"https://api.github.com/repos/arcadefire/nice-spinner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arcadefire/nice-spinner/merges","archive_url":"https://api.github.com/repos/arcadefire/nice-spinner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arcadefire/nice-spinner/downloads","issues_url":"https://api.github.com/repos/arcadefire/nice-spinner/issues{/number}","pulls_url":"https://api.github.com/repos/arcadefire/nice-spinner/pulls{/number}","milestones_url":"https://api.github.com/repos/arcadefire/nice-spinner/milestones{/number}","notifications_url":"https://api.github.com/repos/arcadefire/nice-spinner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arcadefire/nice-spinner/labels{/name}","releases_url":"https://api.github.com/repos/arcadefire/nice-spinner/releases{/id}","created_at":"2015-08-02T17:16:45Z","updated_at":"2015-11-04T16:46:13Z","pushed_at":"2015-10-07T15:49:57Z","git_url":"git://github.com/arcadefire/nice-spinner.git","ssh_url":"git@github.com:arcadefire/nice-spinner.git","clone_url":"https://github.com/arcadefire/nice-spinner.git","svn_url":"https://github.com/arcadefire/nice-spinner","homepage":"","size":447,"stargazers_count":546,"watchers_count":546,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":80,"mirror_url":null,"open_issues_count":5,"forks":80,"open_issues":5,"watchers":546,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arcadefire/nice-spinner/pulls/15"},"html":{"href":"https://github.com/arcadefire/nice-spinner/pull/15"},"issue":{"href":"https://api.github.com/repos/arcadefire/nice-spinner/issues/15"},"comments":{"href":"https://api.github.com/repos/arcadefire/nice-spinner/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/arcadefire/nice-spinner/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/arcadefire/nice-spinner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arcadefire/nice-spinner/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/arcadefire/nice-spinner/statuses/6c2a06418fc64acf995028e3eace6ad2cc65133a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}