{"action":"opened","issue":{"url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/44","repository_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android","labels_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/44/comments","events_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/44/events","html_url":"https://github.com/couchbaselabs/GrocerySync-Android/issues/44","id":179004039,"number":44,"title":"pushOrPullReplication.addChangeListener(this)?","user":{"login":"linovate","id":14252364,"avatar_url":"https://avatars.githubusercontent.com/u/14252364?v=3","gravatar_id":"","url":"https://api.github.com/users/linovate","html_url":"https://github.com/linovate","followers_url":"https://api.github.com/users/linovate/followers","following_url":"https://api.github.com/users/linovate/following{/other_user}","gists_url":"https://api.github.com/users/linovate/gists{/gist_id}","starred_url":"https://api.github.com/users/linovate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linovate/subscriptions","organizations_url":"https://api.github.com/users/linovate/orgs","repos_url":"https://api.github.com/users/linovate/repos","events_url":"https://api.github.com/users/linovate/events{/privacy}","received_events_url":"https://api.github.com/users/linovate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-24T01:44:20Z","updated_at":"2016-09-24T01:44:20Z","closed_at":null,"body":"It seems couch base docs at (http://developer.couchbase.com/documentation/mobile/current/develop/guides/couchbase-lite/native-api/replication/index.html) suggests to do it this way:\r\n\r\npush.addChangeListener(new Replication.ChangeListener() {\r\n    @Override\r\n    public void changed(Replication.ChangeEvent event) {\r\n        // will be called back when the push replication status changes\r\n    }\r\n});\r\npull.addChangeListener(new Replication.ChangeListener() {\r\n    @Override\r\n    public void changed(Replication.ChangeEvent event) {\r\n        // will be called back when the pull replication status changes\r\n    }\r\n});"}}
{"actor":{"display_login":"linovate"}}