{"action":"created","comment":{"url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/comments/234417860","pull_request_review_id":176061219,"id":234417860,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDQxNzg2MA==","diff_hunk":"@@ -0,0 +1,28 @@\n+package com.androidacademy.msk.exerciseproject.di.module;\n+\n+import android.content.Context;\n+import android.support.annotation.NonNull;\n+\n+import com.androidacademy.msk.exerciseproject.data.database.dao.NewsDao;\n+import com.androidacademy.msk.exerciseproject.di.scope.ActivityScope;\n+import com.androidacademy.msk.exerciseproject.screen.news_editor.NewsEditorPresenter;\n+\n+import dagger.Module;\n+import dagger.Provides;\n+\n+@Module\n+public class NewsEditorModule {\n+\n+    private final int currentItemId;\n+\n+    public NewsEditorModule(int currentItemId) {\n+        this.currentItemId = currentItemId;\n+    }\n+\n+    @Provides\n+    @ActivityScope\n+    @NonNull\n+    public NewsEditorPresenter providePresenter(@NonNull NewsDao dao, @NonNull Context context) {\n+        return new NewsEditorPresenter(dao, currentItemId, context);","path":"app/src/main/java/com/androidacademy/msk/exerciseproject/di/module/NewsEditorModule.java","position":26,"original_position":26,"commit_id":"7ba8b3e39f4b797833017d628211a7fdcecdc01f","original_commit_id":"7ba8b3e39f4b797833017d628211a7fdcecdc01f","user":{"login":"PStrelchenkoHH","id":40827829,"node_id":"MDQ6VXNlcjQwODI3ODI5","avatar_url":"https://avatars1.githubusercontent.com/u/40827829?v=4","gravatar_id":"","url":"https://api.github.com/users/PStrelchenkoHH","html_url":"https://github.com/PStrelchenkoHH","followers_url":"https://api.github.com/users/PStrelchenkoHH/followers","following_url":"https://api.github.com/users/PStrelchenkoHH/following{/other_user}","gists_url":"https://api.github.com/users/PStrelchenkoHH/gists{/gist_id}","starred_url":"https://api.github.com/users/PStrelchenkoHH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PStrelchenkoHH/subscriptions","organizations_url":"https://api.github.com/users/PStrelchenkoHH/orgs","repos_url":"https://api.github.com/users/PStrelchenkoHH/repos","events_url":"https://api.github.com/users/PStrelchenkoHH/events{/privacy}","received_events_url":"https://api.github.com/users/PStrelchenkoHH/received_events","type":"User","site_admin":false},"body":"По-прежнему контекст в presenter-е","created_at":"2018-11-17T19:00:12Z","updated_at":"2018-11-17T19:45:59Z","html_url":"https://github.com/georgyR/Android-Academy-Msk-project/pull/5#discussion_r234417860","pull_request_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/comments/234417860"},"html":{"href":"https://github.com/georgyR/Android-Academy-Msk-project/pull/5#discussion_r234417860"},"pull_request":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/5","id":229156693,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MTU2Njkz","html_url":"https://github.com/georgyR/Android-Academy-Msk-project/pull/5","diff_url":"https://github.com/georgyR/Android-Academy-Msk-project/pull/5.diff","patch_url":"https://github.com/georgyR/Android-Academy-Msk-project/pull/5.patch","issue_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues/5","number":5,"state":"open","locked":false,"title":"Feature/ex6","user":{"login":"georgyR","id":29551897,"node_id":"MDQ6VXNlcjI5NTUxODk3","avatar_url":"https://avatars0.githubusercontent.com/u/29551897?v=4","gravatar_id":"","url":"https://api.github.com/users/georgyR","html_url":"https://github.com/georgyR","followers_url":"https://api.github.com/users/georgyR/followers","following_url":"https://api.github.com/users/georgyR/following{/other_user}","gists_url":"https://api.github.com/users/georgyR/gists{/gist_id}","starred_url":"https://api.github.com/users/georgyR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgyR/subscriptions","organizations_url":"https://api.github.com/users/georgyR/orgs","repos_url":"https://api.github.com/users/georgyR/repos","events_url":"https://api.github.com/users/georgyR/events{/privacy}","received_events_url":"https://api.github.com/users/georgyR/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-07T20:22:08Z","updated_at":"2018-11-17T19:45:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8accaa997e96c3c50f06651ab2c069046b1b14f5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/5/commits","review_comments_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/5/comments","review_comment_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues/5/comments","statuses_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/statuses/7ba8b3e39f4b797833017d628211a7fdcecdc01f","head":{"label":"georgyR:feature/ex6","ref":"feature/ex6","sha":"7ba8b3e39f4b797833017d628211a7fdcecdc01f","user":{"login":"georgyR","id":29551897,"node_id":"MDQ6VXNlcjI5NTUxODk3","avatar_url":"https://avatars0.githubusercontent.com/u/29551897?v=4","gravatar_id":"","url":"https://api.github.com/users/georgyR","html_url":"https://github.com/georgyR","followers_url":"https://api.github.com/users/georgyR/followers","following_url":"https://api.github.com/users/georgyR/following{/other_user}","gists_url":"https://api.github.com/users/georgyR/gists{/gist_id}","starred_url":"https://api.github.com/users/georgyR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgyR/subscriptions","organizations_url":"https://api.github.com/users/georgyR/orgs","repos_url":"https://api.github.com/users/georgyR/repos","events_url":"https://api.github.com/users/georgyR/events{/privacy}","received_events_url":"https://api.github.com/users/georgyR/received_events","type":"User","site_admin":false},"repo":{"id":150238609,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAyMzg2MDk=","name":"Android-Academy-Msk-project","full_name":"georgyR/Android-Academy-Msk-project","private":false,"owner":{"login":"georgyR","id":29551897,"node_id":"MDQ6VXNlcjI5NTUxODk3","avatar_url":"https://avatars0.githubusercontent.com/u/29551897?v=4","gravatar_id":"","url":"https://api.github.com/users/georgyR","html_url":"https://github.com/georgyR","followers_url":"https://api.github.com/users/georgyR/followers","following_url":"https://api.github.com/users/georgyR/following{/other_user}","gists_url":"https://api.github.com/users/georgyR/gists{/gist_id}","starred_url":"https://api.github.com/users/georgyR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgyR/subscriptions","organizations_url":"https://api.github.com/users/georgyR/orgs","repos_url":"https://api.github.com/users/georgyR/repos","events_url":"https://api.github.com/users/georgyR/events{/privacy}","received_events_url":"https://api.github.com/users/georgyR/received_events","type":"User","site_admin":false},"html_url":"https://github.com/georgyR/Android-Academy-Msk-project","description":"Android exercise-project","fork":false,"url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project","forks_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/forks","keys_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/teams","hooks_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/hooks","issue_events_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues/events{/number}","events_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/events","assignees_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/assignees{/user}","branches_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/branches{/branch}","tags_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/tags","blobs_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/statuses/{sha}","languages_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/languages","stargazers_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/stargazers","contributors_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/contributors","subscribers_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/subscribers","subscription_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/subscription","commits_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/contents/{+path}","compare_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/merges","archive_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/downloads","issues_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues{/number}","pulls_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls{/number}","milestones_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/milestones{/number}","notifications_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/labels{/name}","releases_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/releases{/id}","deployments_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/deployments","created_at":"2018-09-25T09:18:20Z","updated_at":"2018-11-03T15:30:14Z","pushed_at":"2018-11-17T14:55:37Z","git_url":"git://github.com/georgyR/Android-Academy-Msk-project.git","ssh_url":"git@github.com:georgyR/Android-Academy-Msk-project.git","clone_url":"https://github.com/georgyR/Android-Academy-Msk-project.git","svn_url":"https://github.com/georgyR/Android-Academy-Msk-project","homepage":"","size":11967,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"georgyR:master","ref":"master","sha":"97ecbb777a55ced154d1ed5eab5ea87f925899d1","user":{"login":"georgyR","id":29551897,"node_id":"MDQ6VXNlcjI5NTUxODk3","avatar_url":"https://avatars0.githubusercontent.com/u/29551897?v=4","gravatar_id":"","url":"https://api.github.com/users/georgyR","html_url":"https://github.com/georgyR","followers_url":"https://api.github.com/users/georgyR/followers","following_url":"https://api.github.com/users/georgyR/following{/other_user}","gists_url":"https://api.github.com/users/georgyR/gists{/gist_id}","starred_url":"https://api.github.com/users/georgyR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgyR/subscriptions","organizations_url":"https://api.github.com/users/georgyR/orgs","repos_url":"https://api.github.com/users/georgyR/repos","events_url":"https://api.github.com/users/georgyR/events{/privacy}","received_events_url":"https://api.github.com/users/georgyR/received_events","type":"User","site_admin":false},"repo":{"id":150238609,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAyMzg2MDk=","name":"Android-Academy-Msk-project","full_name":"georgyR/Android-Academy-Msk-project","private":false,"owner":{"login":"georgyR","id":29551897,"node_id":"MDQ6VXNlcjI5NTUxODk3","avatar_url":"https://avatars0.githubusercontent.com/u/29551897?v=4","gravatar_id":"","url":"https://api.github.com/users/georgyR","html_url":"https://github.com/georgyR","followers_url":"https://api.github.com/users/georgyR/followers","following_url":"https://api.github.com/users/georgyR/following{/other_user}","gists_url":"https://api.github.com/users/georgyR/gists{/gist_id}","starred_url":"https://api.github.com/users/georgyR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgyR/subscriptions","organizations_url":"https://api.github.com/users/georgyR/orgs","repos_url":"https://api.github.com/users/georgyR/repos","events_url":"https://api.github.com/users/georgyR/events{/privacy}","received_events_url":"https://api.github.com/users/georgyR/received_events","type":"User","site_admin":false},"html_url":"https://github.com/georgyR/Android-Academy-Msk-project","description":"Android exercise-project","fork":false,"url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project","forks_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/forks","keys_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/teams","hooks_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/hooks","issue_events_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues/events{/number}","events_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/events","assignees_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/assignees{/user}","branches_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/branches{/branch}","tags_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/tags","blobs_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/statuses/{sha}","languages_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/languages","stargazers_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/stargazers","contributors_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/contributors","subscribers_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/subscribers","subscription_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/subscription","commits_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/contents/{+path}","compare_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/merges","archive_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/downloads","issues_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues{/number}","pulls_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls{/number}","milestones_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/milestones{/number}","notifications_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/labels{/name}","releases_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/releases{/id}","deployments_url":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/deployments","created_at":"2018-09-25T09:18:20Z","updated_at":"2018-11-03T15:30:14Z","pushed_at":"2018-11-17T14:55:37Z","git_url":"git://github.com/georgyR/Android-Academy-Msk-project.git","ssh_url":"git@github.com:georgyR/Android-Academy-Msk-project.git","clone_url":"https://github.com/georgyR/Android-Academy-Msk-project.git","svn_url":"https://github.com/georgyR/Android-Academy-Msk-project","homepage":"","size":11967,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/5"},"html":{"href":"https://github.com/georgyR/Android-Academy-Msk-project/pull/5"},"issue":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues/5"},"comments":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/georgyR/Android-Academy-Msk-project/statuses/7ba8b3e39f4b797833017d628211a7fdcecdc01f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"PStrelchenkoHH"}}