{"action":"created","comment":{"url":"https://api.github.com/repos/elimu-ai/appstore/pulls/comments/170422107","pull_request_review_id":99113463,"id":170422107,"diff_hunk":"@@ -92,13 +102,55 @@ public Retrofit getRetrofit() {\n         HttpLoggingInterceptor logging = new HttpLoggingInterceptor();\n         logging.setLevel(BuildConfig.DEBUG ? HttpLoggingInterceptor.Level.BODY :\n                 HttpLoggingInterceptor.Level.NONE);\n-        final OkHttpClient okHttpClient = new OkHttpClient.Builder()\n+\n+        final ProgressResponseBody.ProgressListener progressListener = new ProgressResponseBody.ProgressListener() {\n+            @Override\n+            public void update(long bytesRead, long contentLength, boolean done) {","path":"app/src/main/java/ai/elimu/appstore/BaseApplication.java","position":43,"original_position":43,"commit_id":"11734d474e212439ff179469cf5dbf6e37e3fe0d","original_commit_id":"11734d474e212439ff179469cf5dbf6e37e3fe0d","user":{"login":"jo-elimuai","id":1451036,"avatar_url":"https://avatars2.githubusercontent.com/u/1451036?v=4","gravatar_id":"","url":"https://api.github.com/users/jo-elimuai","html_url":"https://github.com/jo-elimuai","followers_url":"https://api.github.com/users/jo-elimuai/followers","following_url":"https://api.github.com/users/jo-elimuai/following{/other_user}","gists_url":"https://api.github.com/users/jo-elimuai/gists{/gist_id}","starred_url":"https://api.github.com/users/jo-elimuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jo-elimuai/subscriptions","organizations_url":"https://api.github.com/users/jo-elimuai/orgs","repos_url":"https://api.github.com/users/jo-elimuai/repos","events_url":"https://api.github.com/users/jo-elimuai/events{/privacy}","received_events_url":"https://api.github.com/users/jo-elimuai/received_events","type":"User","site_admin":false},"body":"How frequently is this method called? Every 1024 bytes?","created_at":"2018-02-24T14:09:36Z","updated_at":"2018-02-24T14:09:36Z","html_url":"https://github.com/elimu-ai/appstore/pull/170#discussion_r170422107","pull_request_url":"https://api.github.com/repos/elimu-ai/appstore/pulls/170","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/elimu-ai/appstore/pulls/comments/170422107"},"html":{"href":"https://github.com/elimu-ai/appstore/pull/170#discussion_r170422107"},"pull_request":{"href":"https://api.github.com/repos/elimu-ai/appstore/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/elimu-ai/appstore/pulls/170","id":170502346,"html_url":"https://github.com/elimu-ai/appstore/pull/170","diff_url":"https://github.com/elimu-ai/appstore/pull/170.diff","patch_url":"https://github.com/elimu-ai/appstore/pull/170.patch","issue_url":"https://api.github.com/repos/elimu-ai/appstore/issues/170","number":170,"state":"open","locked":false,"title":"#148 Add retrofit service for downloading apk files","user":{"login":"tuancoltech","id":4281969,"avatar_url":"https://avatars1.githubusercontent.com/u/4281969?v=4","gravatar_id":"","url":"https://api.github.com/users/tuancoltech","html_url":"https://github.com/tuancoltech","followers_url":"https://api.github.com/users/tuancoltech/followers","following_url":"https://api.github.com/users/tuancoltech/following{/other_user}","gists_url":"https://api.github.com/users/tuancoltech/gists{/gist_id}","starred_url":"https://api.github.com/users/tuancoltech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuancoltech/subscriptions","organizations_url":"https://api.github.com/users/tuancoltech/orgs","repos_url":"https://api.github.com/users/tuancoltech/repos","events_url":"https://api.github.com/users/tuancoltech/events{/privacy}","received_events_url":"https://api.github.com/users/tuancoltech/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-21T15:27:08Z","updated_at":"2018-02-24T14:09:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e2f9e1359bf532b274a2303fd05ec1f3f8e2f9a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sladomic","id":556222,"avatar_url":"https://avatars1.githubusercontent.com/u/556222?v=4","gravatar_id":"","url":"https://api.github.com/users/sladomic","html_url":"https://github.com/sladomic","followers_url":"https://api.github.com/users/sladomic/followers","following_url":"https://api.github.com/users/sladomic/following{/other_user}","gists_url":"https://api.github.com/users/sladomic/gists{/gist_id}","starred_url":"https://api.github.com/users/sladomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sladomic/subscriptions","organizations_url":"https://api.github.com/users/sladomic/orgs","repos_url":"https://api.github.com/users/sladomic/repos","events_url":"https://api.github.com/users/sladomic/events{/privacy}","received_events_url":"https://api.github.com/users/sladomic/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elimu-ai/appstore/pulls/170/commits","review_comments_url":"https://api.github.com/repos/elimu-ai/appstore/pulls/170/comments","review_comment_url":"https://api.github.com/repos/elimu-ai/appstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elimu-ai/appstore/issues/170/comments","statuses_url":"https://api.github.com/repos/elimu-ai/appstore/statuses/11734d474e212439ff179469cf5dbf6e37e3fe0d","head":{"label":"elimu-ai:#148-Add-Retrofit-service-for-downloading-APK-files","ref":"#148-Add-Retrofit-service-for-downloading-APK-files","sha":"11734d474e212439ff179469cf5dbf6e37e3fe0d","user":{"login":"elimu-ai","id":15718196,"avatar_url":"https://avatars2.githubusercontent.com/u/15718196?v=4","gravatar_id":"","url":"https://api.github.com/users/elimu-ai","html_url":"https://github.com/elimu-ai","followers_url":"https://api.github.com/users/elimu-ai/followers","following_url":"https://api.github.com/users/elimu-ai/following{/other_user}","gists_url":"https://api.github.com/users/elimu-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/elimu-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elimu-ai/subscriptions","organizations_url":"https://api.github.com/users/elimu-ai/orgs","repos_url":"https://api.github.com/users/elimu-ai/repos","events_url":"https://api.github.com/users/elimu-ai/events{/privacy}","received_events_url":"https://api.github.com/users/elimu-ai/received_events","type":"Organization","site_admin":false},"repo":{"id":62789947,"name":"appstore","full_name":"elimu-ai/appstore","owner":{"login":"elimu-ai","id":15718196,"avatar_url":"https://avatars2.githubusercontent.com/u/15718196?v=4","gravatar_id":"","url":"https://api.github.com/users/elimu-ai","html_url":"https://github.com/elimu-ai","followers_url":"https://api.github.com/users/elimu-ai/followers","following_url":"https://api.github.com/users/elimu-ai/following{/other_user}","gists_url":"https://api.github.com/users/elimu-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/elimu-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elimu-ai/subscriptions","organizations_url":"https://api.github.com/users/elimu-ai/orgs","repos_url":"https://api.github.com/users/elimu-ai/repos","events_url":"https://api.github.com/users/elimu-ai/events{/privacy}","received_events_url":"https://api.github.com/users/elimu-ai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elimu-ai/appstore","description":"Android application which downloads, installs and updates APK files","fork":false,"url":"https://api.github.com/repos/elimu-ai/appstore","forks_url":"https://api.github.com/repos/elimu-ai/appstore/forks","keys_url":"https://api.github.com/repos/elimu-ai/appstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elimu-ai/appstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elimu-ai/appstore/teams","hooks_url":"https://api.github.com/repos/elimu-ai/appstore/hooks","issue_events_url":"https://api.github.com/repos/elimu-ai/appstore/issues/events{/number}","events_url":"https://api.github.com/repos/elimu-ai/appstore/events","assignees_url":"https://api.github.com/repos/elimu-ai/appstore/assignees{/user}","branches_url":"https://api.github.com/repos/elimu-ai/appstore/branches{/branch}","tags_url":"https://api.github.com/repos/elimu-ai/appstore/tags","blobs_url":"https://api.github.com/repos/elimu-ai/appstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elimu-ai/appstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elimu-ai/appstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/elimu-ai/appstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elimu-ai/appstore/statuses/{sha}","languages_url":"https://api.github.com/repos/elimu-ai/appstore/languages","stargazers_url":"https://api.github.com/repos/elimu-ai/appstore/stargazers","contributors_url":"https://api.github.com/repos/elimu-ai/appstore/contributors","subscribers_url":"https://api.github.com/repos/elimu-ai/appstore/subscribers","subscription_url":"https://api.github.com/repos/elimu-ai/appstore/subscription","commits_url":"https://api.github.com/repos/elimu-ai/appstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/elimu-ai/appstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/elimu-ai/appstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/elimu-ai/appstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/elimu-ai/appstore/contents/{+path}","compare_url":"https://api.github.com/repos/elimu-ai/appstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elimu-ai/appstore/merges","archive_url":"https://api.github.com/repos/elimu-ai/appstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elimu-ai/appstore/downloads","issues_url":"https://api.github.com/repos/elimu-ai/appstore/issues{/number}","pulls_url":"https://api.github.com/repos/elimu-ai/appstore/pulls{/number}","milestones_url":"https://api.github.com/repos/elimu-ai/appstore/milestones{/number}","notifications_url":"https://api.github.com/repos/elimu-ai/appstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elimu-ai/appstore/labels{/name}","releases_url":"https://api.github.com/repos/elimu-ai/appstore/releases{/id}","deployments_url":"https://api.github.com/repos/elimu-ai/appstore/deployments","created_at":"2016-07-07T08:37:35Z","updated_at":"2018-02-14T18:27:40Z","pushed_at":"2018-02-24T09:30:50Z","git_url":"git://github.com/elimu-ai/appstore.git","ssh_url":"git@github.com:elimu-ai/appstore.git","clone_url":"https://github.com/elimu-ai/appstore.git","svn_url":"https://github.com/elimu-ai/appstore","homepage":"","size":644,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":7,"open_issues":35,"watchers":3,"default_branch":"master"}},"base":{"label":"elimu-ai:master","ref":"master","sha":"ac5147bad58dbfe3d6c56c11dd9275e7bb8aa101","user":{"login":"elimu-ai","id":15718196,"avatar_url":"https://avatars2.githubusercontent.com/u/15718196?v=4","gravatar_id":"","url":"https://api.github.com/users/elimu-ai","html_url":"https://github.com/elimu-ai","followers_url":"https://api.github.com/users/elimu-ai/followers","following_url":"https://api.github.com/users/elimu-ai/following{/other_user}","gists_url":"https://api.github.com/users/elimu-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/elimu-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elimu-ai/subscriptions","organizations_url":"https://api.github.com/users/elimu-ai/orgs","repos_url":"https://api.github.com/users/elimu-ai/repos","events_url":"https://api.github.com/users/elimu-ai/events{/privacy}","received_events_url":"https://api.github.com/users/elimu-ai/received_events","type":"Organization","site_admin":false},"repo":{"id":62789947,"name":"appstore","full_name":"elimu-ai/appstore","owner":{"login":"elimu-ai","id":15718196,"avatar_url":"https://avatars2.githubusercontent.com/u/15718196?v=4","gravatar_id":"","url":"https://api.github.com/users/elimu-ai","html_url":"https://github.com/elimu-ai","followers_url":"https://api.github.com/users/elimu-ai/followers","following_url":"https://api.github.com/users/elimu-ai/following{/other_user}","gists_url":"https://api.github.com/users/elimu-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/elimu-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elimu-ai/subscriptions","organizations_url":"https://api.github.com/users/elimu-ai/orgs","repos_url":"https://api.github.com/users/elimu-ai/repos","events_url":"https://api.github.com/users/elimu-ai/events{/privacy}","received_events_url":"https://api.github.com/users/elimu-ai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elimu-ai/appstore","description":"Android application which downloads, installs and updates APK files","fork":false,"url":"https://api.github.com/repos/elimu-ai/appstore","forks_url":"https://api.github.com/repos/elimu-ai/appstore/forks","keys_url":"https://api.github.com/repos/elimu-ai/appstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elimu-ai/appstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elimu-ai/appstore/teams","hooks_url":"https://api.github.com/repos/elimu-ai/appstore/hooks","issue_events_url":"https://api.github.com/repos/elimu-ai/appstore/issues/events{/number}","events_url":"https://api.github.com/repos/elimu-ai/appstore/events","assignees_url":"https://api.github.com/repos/elimu-ai/appstore/assignees{/user}","branches_url":"https://api.github.com/repos/elimu-ai/appstore/branches{/branch}","tags_url":"https://api.github.com/repos/elimu-ai/appstore/tags","blobs_url":"https://api.github.com/repos/elimu-ai/appstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elimu-ai/appstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elimu-ai/appstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/elimu-ai/appstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elimu-ai/appstore/statuses/{sha}","languages_url":"https://api.github.com/repos/elimu-ai/appstore/languages","stargazers_url":"https://api.github.com/repos/elimu-ai/appstore/stargazers","contributors_url":"https://api.github.com/repos/elimu-ai/appstore/contributors","subscribers_url":"https://api.github.com/repos/elimu-ai/appstore/subscribers","subscription_url":"https://api.github.com/repos/elimu-ai/appstore/subscription","commits_url":"https://api.github.com/repos/elimu-ai/appstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/elimu-ai/appstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/elimu-ai/appstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/elimu-ai/appstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/elimu-ai/appstore/contents/{+path}","compare_url":"https://api.github.com/repos/elimu-ai/appstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elimu-ai/appstore/merges","archive_url":"https://api.github.com/repos/elimu-ai/appstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elimu-ai/appstore/downloads","issues_url":"https://api.github.com/repos/elimu-ai/appstore/issues{/number}","pulls_url":"https://api.github.com/repos/elimu-ai/appstore/pulls{/number}","milestones_url":"https://api.github.com/repos/elimu-ai/appstore/milestones{/number}","notifications_url":"https://api.github.com/repos/elimu-ai/appstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elimu-ai/appstore/labels{/name}","releases_url":"https://api.github.com/repos/elimu-ai/appstore/releases{/id}","deployments_url":"https://api.github.com/repos/elimu-ai/appstore/deployments","created_at":"2016-07-07T08:37:35Z","updated_at":"2018-02-14T18:27:40Z","pushed_at":"2018-02-24T09:30:50Z","git_url":"git://github.com/elimu-ai/appstore.git","ssh_url":"git@github.com:elimu-ai/appstore.git","clone_url":"https://github.com/elimu-ai/appstore.git","svn_url":"https://github.com/elimu-ai/appstore","homepage":"","size":644,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":7,"open_issues":35,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elimu-ai/appstore/pulls/170"},"html":{"href":"https://github.com/elimu-ai/appstore/pull/170"},"issue":{"href":"https://api.github.com/repos/elimu-ai/appstore/issues/170"},"comments":{"href":"https://api.github.com/repos/elimu-ai/appstore/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/elimu-ai/appstore/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/elimu-ai/appstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elimu-ai/appstore/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/elimu-ai/appstore/statuses/11734d474e212439ff179469cf5dbf6e37e3fe0d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jo-elimuai"}}