{"action":"created","comment":{"url":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/comments/91325223","pull_request_review_id":11833580,"id":91325223,"diff_hunk":"@@ -0,0 +1,48 @@\n+package com.jakewharton.rxbinding2.widget;\n+\n+import android.widget.CompoundButton;\n+\n+import io.reactivex.Observable;\n+import io.reactivex.Observer;\n+import io.reactivex.android.MainThreadDisposable;\n+\n+import static io.reactivex.android.MainThreadDisposable.verifyMainThread;\n+\n+final class CompoundButtonCheckedChangeObservable extends Observable<Boolean> {\n+\n+    private final CompoundButton view;\n+\n+    CompoundButtonCheckedChangeObservable(CompoundButton view) {\n+        this.view = view;\n+    }\n+\n+    @Override\n+    protected void subscribeActual(Observer<? super Boolean> observer) {\n+        verifyMainThread();\n+        Listener listener = new Listener(view, observer);\n+        observer.onSubscribe(listener);\n+        view.setOnCheckedChangeListener(listener);\n+    }\n+\n+    private static final class Listener extends MainThreadDisposable implements CompoundButton.OnCheckedChangeListener {","path":"rxbinding/src/main/java/com/jakewharton/rxbinding2/widget/CompoundButtonCheckedChangeObservable.java","position":27,"original_position":27,"commit_id":"a614db29bf4f863bfd08893790526d75e80634be","original_commit_id":"a614db29bf4f863bfd08893790526d75e80634be","user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"body":"Drop `private`","created_at":"2016-12-07T16:06:23Z","updated_at":"2016-12-07T16:07:07Z","html_url":"https://github.com/JakeWharton/RxBinding/pull/317#discussion_r91325223","pull_request_url":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/317","_links":{"self":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/comments/91325223"},"html":{"href":"https://github.com/JakeWharton/RxBinding/pull/317#discussion_r91325223"},"pull_request":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/317"}}},"pull_request":{"url":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/317","id":96933789,"html_url":"https://github.com/JakeWharton/RxBinding/pull/317","diff_url":"https://github.com/JakeWharton/RxBinding/pull/317.diff","patch_url":"https://github.com/JakeWharton/RxBinding/pull/317.patch","issue_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/317","number":317,"state":"open","locked":false,"title":"Port android.widget.CompoundButton to RxJava 2.","user":{"login":"ghostbuster91","id":5662622,"avatar_url":"https://avatars.githubusercontent.com/u/5662622?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostbuster91","html_url":"https://github.com/ghostbuster91","followers_url":"https://api.github.com/users/ghostbuster91/followers","following_url":"https://api.github.com/users/ghostbuster91/following{/other_user}","gists_url":"https://api.github.com/users/ghostbuster91/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostbuster91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostbuster91/subscriptions","organizations_url":"https://api.github.com/users/ghostbuster91/orgs","repos_url":"https://api.github.com/users/ghostbuster91/repos","events_url":"https://api.github.com/users/ghostbuster91/events{/privacy}","received_events_url":"https://api.github.com/users/ghostbuster91/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-07T14:30:57Z","updated_at":"2016-12-07T16:07:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf07a1b2385b75b96d72d15aa28e2f4edd439223","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/317/commits","review_comments_url":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/317/comments","review_comment_url":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/317/comments","statuses_url":"https://api.github.com/repos/JakeWharton/RxBinding/statuses/a614db29bf4f863bfd08893790526d75e80634be","head":{"label":"ghostbuster91:rxjava-two-compound-button","ref":"rxjava-two-compound-button","sha":"a614db29bf4f863bfd08893790526d75e80634be","user":{"login":"ghostbuster91","id":5662622,"avatar_url":"https://avatars.githubusercontent.com/u/5662622?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostbuster91","html_url":"https://github.com/ghostbuster91","followers_url":"https://api.github.com/users/ghostbuster91/followers","following_url":"https://api.github.com/users/ghostbuster91/following{/other_user}","gists_url":"https://api.github.com/users/ghostbuster91/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostbuster91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostbuster91/subscriptions","organizations_url":"https://api.github.com/users/ghostbuster91/orgs","repos_url":"https://api.github.com/users/ghostbuster91/repos","events_url":"https://api.github.com/users/ghostbuster91/events{/privacy}","received_events_url":"https://api.github.com/users/ghostbuster91/received_events","type":"User","site_admin":false},"repo":{"id":75843392,"name":"RxBinding","full_name":"ghostbuster91/RxBinding","owner":{"login":"ghostbuster91","id":5662622,"avatar_url":"https://avatars.githubusercontent.com/u/5662622?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostbuster91","html_url":"https://github.com/ghostbuster91","followers_url":"https://api.github.com/users/ghostbuster91/followers","following_url":"https://api.github.com/users/ghostbuster91/following{/other_user}","gists_url":"https://api.github.com/users/ghostbuster91/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostbuster91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostbuster91/subscriptions","organizations_url":"https://api.github.com/users/ghostbuster91/orgs","repos_url":"https://api.github.com/users/ghostbuster91/repos","events_url":"https://api.github.com/users/ghostbuster91/events{/privacy}","received_events_url":"https://api.github.com/users/ghostbuster91/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ghostbuster91/RxBinding","description":"RxJava binding APIs for Android's UI widgets.","fork":true,"url":"https://api.github.com/repos/ghostbuster91/RxBinding","forks_url":"https://api.github.com/repos/ghostbuster91/RxBinding/forks","keys_url":"https://api.github.com/repos/ghostbuster91/RxBinding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ghostbuster91/RxBinding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ghostbuster91/RxBinding/teams","hooks_url":"https://api.github.com/repos/ghostbuster91/RxBinding/hooks","issue_events_url":"https://api.github.com/repos/ghostbuster91/RxBinding/issues/events{/number}","events_url":"https://api.github.com/repos/ghostbuster91/RxBinding/events","assignees_url":"https://api.github.com/repos/ghostbuster91/RxBinding/assignees{/user}","branches_url":"https://api.github.com/repos/ghostbuster91/RxBinding/branches{/branch}","tags_url":"https://api.github.com/repos/ghostbuster91/RxBinding/tags","blobs_url":"https://api.github.com/repos/ghostbuster91/RxBinding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ghostbuster91/RxBinding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ghostbuster91/RxBinding/git/refs{/sha}","trees_url":"https://api.github.com/repos/ghostbuster91/RxBinding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ghostbuster91/RxBinding/statuses/{sha}","languages_url":"https://api.github.com/repos/ghostbuster91/RxBinding/languages","stargazers_url":"https://api.github.com/repos/ghostbuster91/RxBinding/stargazers","contributors_url":"https://api.github.com/repos/ghostbuster91/RxBinding/contributors","subscribers_url":"https://api.github.com/repos/ghostbuster91/RxBinding/subscribers","subscription_url":"https://api.github.com/repos/ghostbuster91/RxBinding/subscription","commits_url":"https://api.github.com/repos/ghostbuster91/RxBinding/commits{/sha}","git_commits_url":"https://api.github.com/repos/ghostbuster91/RxBinding/git/commits{/sha}","comments_url":"https://api.github.com/repos/ghostbuster91/RxBinding/comments{/number}","issue_comment_url":"https://api.github.com/repos/ghostbuster91/RxBinding/issues/comments{/number}","contents_url":"https://api.github.com/repos/ghostbuster91/RxBinding/contents/{+path}","compare_url":"https://api.github.com/repos/ghostbuster91/RxBinding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ghostbuster91/RxBinding/merges","archive_url":"https://api.github.com/repos/ghostbuster91/RxBinding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ghostbuster91/RxBinding/downloads","issues_url":"https://api.github.com/repos/ghostbuster91/RxBinding/issues{/number}","pulls_url":"https://api.github.com/repos/ghostbuster91/RxBinding/pulls{/number}","milestones_url":"https://api.github.com/repos/ghostbuster91/RxBinding/milestones{/number}","notifications_url":"https://api.github.com/repos/ghostbuster91/RxBinding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ghostbuster91/RxBinding/labels{/name}","releases_url":"https://api.github.com/repos/ghostbuster91/RxBinding/releases{/id}","deployments_url":"https://api.github.com/repos/ghostbuster91/RxBinding/deployments","created_at":"2016-12-07T14:25:25Z","updated_at":"2016-12-07T14:25:26Z","pushed_at":"2016-12-07T14:35:53Z","git_url":"git://github.com/ghostbuster91/RxBinding.git","ssh_url":"git@github.com:ghostbuster91/RxBinding.git","clone_url":"https://github.com/ghostbuster91/RxBinding.git","svn_url":"https://github.com/ghostbuster91/RxBinding","homepage":"","size":916,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"JakeWharton:rxjava-two","ref":"rxjava-two","sha":"6cad42ce2d6133cfc97396b2f85b0b5d2257f202","user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"repo":{"id":32775739,"name":"RxBinding","full_name":"JakeWharton/RxBinding","owner":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JakeWharton/RxBinding","description":"RxJava binding APIs for Android's UI widgets.","fork":false,"url":"https://api.github.com/repos/JakeWharton/RxBinding","forks_url":"https://api.github.com/repos/JakeWharton/RxBinding/forks","keys_url":"https://api.github.com/repos/JakeWharton/RxBinding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JakeWharton/RxBinding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JakeWharton/RxBinding/teams","hooks_url":"https://api.github.com/repos/JakeWharton/RxBinding/hooks","issue_events_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/events{/number}","events_url":"https://api.github.com/repos/JakeWharton/RxBinding/events","assignees_url":"https://api.github.com/repos/JakeWharton/RxBinding/assignees{/user}","branches_url":"https://api.github.com/repos/JakeWharton/RxBinding/branches{/branch}","tags_url":"https://api.github.com/repos/JakeWharton/RxBinding/tags","blobs_url":"https://api.github.com/repos/JakeWharton/RxBinding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JakeWharton/RxBinding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JakeWharton/RxBinding/git/refs{/sha}","trees_url":"https://api.github.com/repos/JakeWharton/RxBinding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JakeWharton/RxBinding/statuses/{sha}","languages_url":"https://api.github.com/repos/JakeWharton/RxBinding/languages","stargazers_url":"https://api.github.com/repos/JakeWharton/RxBinding/stargazers","contributors_url":"https://api.github.com/repos/JakeWharton/RxBinding/contributors","subscribers_url":"https://api.github.com/repos/JakeWharton/RxBinding/subscribers","subscription_url":"https://api.github.com/repos/JakeWharton/RxBinding/subscription","commits_url":"https://api.github.com/repos/JakeWharton/RxBinding/commits{/sha}","git_commits_url":"https://api.github.com/repos/JakeWharton/RxBinding/git/commits{/sha}","comments_url":"https://api.github.com/repos/JakeWharton/RxBinding/comments{/number}","issue_comment_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/comments{/number}","contents_url":"https://api.github.com/repos/JakeWharton/RxBinding/contents/{+path}","compare_url":"https://api.github.com/repos/JakeWharton/RxBinding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JakeWharton/RxBinding/merges","archive_url":"https://api.github.com/repos/JakeWharton/RxBinding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JakeWharton/RxBinding/downloads","issues_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues{/number}","pulls_url":"https://api.github.com/repos/JakeWharton/RxBinding/pulls{/number}","milestones_url":"https://api.github.com/repos/JakeWharton/RxBinding/milestones{/number}","notifications_url":"https://api.github.com/repos/JakeWharton/RxBinding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JakeWharton/RxBinding/labels{/name}","releases_url":"https://api.github.com/repos/JakeWharton/RxBinding/releases{/id}","deployments_url":"https://api.github.com/repos/JakeWharton/RxBinding/deployments","created_at":"2015-03-24T04:17:24Z","updated_at":"2016-12-07T14:49:56Z","pushed_at":"2016-12-07T16:05:16Z","git_url":"git://github.com/JakeWharton/RxBinding.git","ssh_url":"git@github.com:JakeWharton/RxBinding.git","clone_url":"https://github.com/JakeWharton/RxBinding.git","svn_url":"https://github.com/JakeWharton/RxBinding","homepage":"","size":1324,"stargazers_count":4230,"watchers_count":4230,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":469,"mirror_url":null,"open_issues_count":24,"forks":469,"open_issues":24,"watchers":4230,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/317"},"html":{"href":"https://github.com/JakeWharton/RxBinding/pull/317"},"issue":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/issues/317"},"comments":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/JakeWharton/RxBinding/statuses/a614db29bf4f863bfd08893790526d75e80634be"}}}}
{"actor":{"display_login":"JakeWharton"}}