{"action":"created","comment":{"url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/comments/158191112","pull_request_review_id":84961179,"id":158191112,"diff_hunk":"@@ -0,0 +1,7 @@\n+package io.skygear.skygear;\n+\n+\n+public interface PubsubListener {\n+    void onConnectionChanged(boolean isConnected);\n+    void onConnectionError(Exception e);","path":"skygear/src/main/java/io/skygear/skygear/PubsubListener.java","position":6,"original_position":6,"commit_id":"f12112d24148d4e903cc3dfe8299ee2bafbd135f","original_commit_id":"f12112d24148d4e903cc3dfe8299ee2bafbd135f","user":{"login":"howawong","id":760880,"avatar_url":"https://avatars2.githubusercontent.com/u/760880?v=4","gravatar_id":"","url":"https://api.github.com/users/howawong","html_url":"https://github.com/howawong","followers_url":"https://api.github.com/users/howawong/followers","following_url":"https://api.github.com/users/howawong/following{/other_user}","gists_url":"https://api.github.com/users/howawong/gists{/gist_id}","starred_url":"https://api.github.com/users/howawong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howawong/subscriptions","organizations_url":"https://api.github.com/users/howawong/orgs","repos_url":"https://api.github.com/users/howawong/repos","events_url":"https://api.github.com/users/howawong/events{/privacy}","received_events_url":"https://api.github.com/users/howawong/received_events","type":"User","site_admin":false},"body":"@rickmak  right.","created_at":"2017-12-21T03:37:14Z","updated_at":"2017-12-21T03:37:14Z","html_url":"https://github.com/SkygearIO/skygear-SDK-Android/pull/177#discussion_r158191112","pull_request_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/177","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/comments/158191112"},"html":{"href":"https://github.com/SkygearIO/skygear-SDK-Android/pull/177#discussion_r158191112"},"pull_request":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/177"}},"in_reply_to_id":157969047},"pull_request":{"url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/177","id":158549317,"html_url":"https://github.com/SkygearIO/skygear-SDK-Android/pull/177","diff_url":"https://github.com/SkygearIO/skygear-SDK-Android/pull/177.diff","patch_url":"https://github.com/SkygearIO/skygear-SDK-Android/pull/177.patch","issue_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/177","number":177,"state":"open","locked":false,"title":"Add PubsubListener to hook up with PubsubClient onOpen, onClose and onError","user":{"login":"howawong","id":760880,"avatar_url":"https://avatars2.githubusercontent.com/u/760880?v=4","gravatar_id":"","url":"https://api.github.com/users/howawong","html_url":"https://github.com/howawong","followers_url":"https://api.github.com/users/howawong/followers","following_url":"https://api.github.com/users/howawong/following{/other_user}","gists_url":"https://api.github.com/users/howawong/gists{/gist_id}","starred_url":"https://api.github.com/users/howawong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howawong/subscriptions","organizations_url":"https://api.github.com/users/howawong/orgs","repos_url":"https://api.github.com/users/howawong/repos","events_url":"https://api.github.com/users/howawong/events{/privacy}","received_events_url":"https://api.github.com/users/howawong/received_events","type":"User","site_admin":false},"body":"Connects #173","created_at":"2017-12-15T08:41:48Z","updated_at":"2017-12-21T03:37:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c820bc32c61c8536919187a6ee64c18c561e760","assignee":{"login":"carmenlau","id":388892,"avatar_url":"https://avatars2.githubusercontent.com/u/388892?v=4","gravatar_id":"","url":"https://api.github.com/users/carmenlau","html_url":"https://github.com/carmenlau","followers_url":"https://api.github.com/users/carmenlau/followers","following_url":"https://api.github.com/users/carmenlau/following{/other_user}","gists_url":"https://api.github.com/users/carmenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/carmenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmenlau/subscriptions","organizations_url":"https://api.github.com/users/carmenlau/orgs","repos_url":"https://api.github.com/users/carmenlau/repos","events_url":"https://api.github.com/users/carmenlau/events{/privacy}","received_events_url":"https://api.github.com/users/carmenlau/received_events","type":"User","site_admin":false},"assignees":[{"login":"carmenlau","id":388892,"avatar_url":"https://avatars2.githubusercontent.com/u/388892?v=4","gravatar_id":"","url":"https://api.github.com/users/carmenlau","html_url":"https://github.com/carmenlau","followers_url":"https://api.github.com/users/carmenlau/followers","following_url":"https://api.github.com/users/carmenlau/following{/other_user}","gists_url":"https://api.github.com/users/carmenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/carmenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmenlau/subscriptions","organizations_url":"https://api.github.com/users/carmenlau/orgs","repos_url":"https://api.github.com/users/carmenlau/repos","events_url":"https://api.github.com/users/carmenlau/events{/privacy}","received_events_url":"https://api.github.com/users/carmenlau/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"carmenlau","id":388892,"avatar_url":"https://avatars2.githubusercontent.com/u/388892?v=4","gravatar_id":"","url":"https://api.github.com/users/carmenlau","html_url":"https://github.com/carmenlau","followers_url":"https://api.github.com/users/carmenlau/followers","following_url":"https://api.github.com/users/carmenlau/following{/other_user}","gists_url":"https://api.github.com/users/carmenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/carmenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmenlau/subscriptions","organizations_url":"https://api.github.com/users/carmenlau/orgs","repos_url":"https://api.github.com/users/carmenlau/repos","events_url":"https://api.github.com/users/carmenlau/events{/privacy}","received_events_url":"https://api.github.com/users/carmenlau/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/177/commits","review_comments_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/177/comments","review_comment_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/177/comments","statuses_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/statuses/f12112d24148d4e903cc3dfe8299ee2bafbd135f","head":{"label":"howawong-oursky:pubsub-connection-listener","ref":"pubsub-connection-listener","sha":"f12112d24148d4e903cc3dfe8299ee2bafbd135f","user":{"login":"howawong-oursky","id":29084160,"avatar_url":"https://avatars1.githubusercontent.com/u/29084160?v=4","gravatar_id":"","url":"https://api.github.com/users/howawong-oursky","html_url":"https://github.com/howawong-oursky","followers_url":"https://api.github.com/users/howawong-oursky/followers","following_url":"https://api.github.com/users/howawong-oursky/following{/other_user}","gists_url":"https://api.github.com/users/howawong-oursky/gists{/gist_id}","starred_url":"https://api.github.com/users/howawong-oursky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howawong-oursky/subscriptions","organizations_url":"https://api.github.com/users/howawong-oursky/orgs","repos_url":"https://api.github.com/users/howawong-oursky/repos","events_url":"https://api.github.com/users/howawong-oursky/events{/privacy}","received_events_url":"https://api.github.com/users/howawong-oursky/received_events","type":"Organization","site_admin":false},"repo":{"id":92902939,"name":"skygear-SDK-Android","full_name":"howawong-oursky/skygear-SDK-Android","owner":{"login":"howawong-oursky","id":29084160,"avatar_url":"https://avatars1.githubusercontent.com/u/29084160?v=4","gravatar_id":"","url":"https://api.github.com/users/howawong-oursky","html_url":"https://github.com/howawong-oursky","followers_url":"https://api.github.com/users/howawong-oursky/followers","following_url":"https://api.github.com/users/howawong-oursky/following{/other_user}","gists_url":"https://api.github.com/users/howawong-oursky/gists{/gist_id}","starred_url":"https://api.github.com/users/howawong-oursky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howawong-oursky/subscriptions","organizations_url":"https://api.github.com/users/howawong-oursky/orgs","repos_url":"https://api.github.com/users/howawong-oursky/repos","events_url":"https://api.github.com/users/howawong-oursky/events{/privacy}","received_events_url":"https://api.github.com/users/howawong-oursky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/howawong-oursky/skygear-SDK-Android","description":"Skygear Android SDK","fork":true,"url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android","forks_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/forks","keys_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/teams","hooks_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/hooks","issue_events_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/issues/events{/number}","events_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/events","assignees_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/assignees{/user}","branches_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/branches{/branch}","tags_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/tags","blobs_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/languages","stargazers_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/stargazers","contributors_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/contributors","subscribers_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/subscribers","subscription_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/subscription","commits_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/contents/{+path}","compare_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/merges","archive_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/downloads","issues_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/issues{/number}","pulls_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/labels{/name}","releases_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/releases{/id}","deployments_url":"https://api.github.com/repos/howawong-oursky/skygear-SDK-Android/deployments","created_at":"2017-05-31T04:05:44Z","updated_at":"2017-05-31T04:05:45Z","pushed_at":"2017-12-20T04:14:59Z","git_url":"git://github.com/howawong-oursky/skygear-SDK-Android.git","ssh_url":"git@github.com:howawong-oursky/skygear-SDK-Android.git","clone_url":"https://github.com/howawong-oursky/skygear-SDK-Android.git","svn_url":"https://github.com/howawong-oursky/skygear-SDK-Android","homepage":"","size":634,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SkygearIO:master","ref":"master","sha":"2553bef457ed1903e0747b4d7806d65016b91502","user":{"login":"SkygearIO","id":15025887,"avatar_url":"https://avatars1.githubusercontent.com/u/15025887?v=4","gravatar_id":"","url":"https://api.github.com/users/SkygearIO","html_url":"https://github.com/SkygearIO","followers_url":"https://api.github.com/users/SkygearIO/followers","following_url":"https://api.github.com/users/SkygearIO/following{/other_user}","gists_url":"https://api.github.com/users/SkygearIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SkygearIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkygearIO/subscriptions","organizations_url":"https://api.github.com/users/SkygearIO/orgs","repos_url":"https://api.github.com/users/SkygearIO/repos","events_url":"https://api.github.com/users/SkygearIO/events{/privacy}","received_events_url":"https://api.github.com/users/SkygearIO/received_events","type":"Organization","site_admin":false},"repo":{"id":59970434,"name":"skygear-SDK-Android","full_name":"SkygearIO/skygear-SDK-Android","owner":{"login":"SkygearIO","id":15025887,"avatar_url":"https://avatars1.githubusercontent.com/u/15025887?v=4","gravatar_id":"","url":"https://api.github.com/users/SkygearIO","html_url":"https://github.com/SkygearIO","followers_url":"https://api.github.com/users/SkygearIO/followers","following_url":"https://api.github.com/users/SkygearIO/following{/other_user}","gists_url":"https://api.github.com/users/SkygearIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SkygearIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkygearIO/subscriptions","organizations_url":"https://api.github.com/users/SkygearIO/orgs","repos_url":"https://api.github.com/users/SkygearIO/repos","events_url":"https://api.github.com/users/SkygearIO/events{/privacy}","received_events_url":"https://api.github.com/users/SkygearIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SkygearIO/skygear-SDK-Android","description":"Skygear Android SDK","fork":false,"url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android","forks_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/forks","keys_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/teams","hooks_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/hooks","issue_events_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/events{/number}","events_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/events","assignees_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/assignees{/user}","branches_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/branches{/branch}","tags_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/tags","blobs_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/languages","stargazers_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/stargazers","contributors_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/contributors","subscribers_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/subscribers","subscription_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/subscription","commits_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/contents/{+path}","compare_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/merges","archive_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/downloads","issues_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues{/number}","pulls_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/labels{/name}","releases_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/releases{/id}","deployments_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/deployments","created_at":"2016-05-30T00:47:05Z","updated_at":"2017-09-13T08:04:14Z","pushed_at":"2017-12-20T14:18:18Z","git_url":"git://github.com/SkygearIO/skygear-SDK-Android.git","ssh_url":"git@github.com:SkygearIO/skygear-SDK-Android.git","clone_url":"https://github.com/SkygearIO/skygear-SDK-Android.git","svn_url":"https://github.com/SkygearIO/skygear-SDK-Android","homepage":"","size":644,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":25,"open_issues":45,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/177"},"html":{"href":"https://github.com/SkygearIO/skygear-SDK-Android/pull/177"},"issue":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/177"},"comments":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/statuses/f12112d24148d4e903cc3dfe8299ee2bafbd135f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"howawong"}}