{"action":"created","comment":{"url":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/comments/230558709","pull_request_review_id":171330279,"id":230558709,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDU1ODcwOQ==","diff_hunk":"@@ -0,0 +1,40 @@\n+package android.academy.nytimes.recycler\n+\n+import android.academy.nytimes.R\n+import android.academy.nytimes.data.NewsItem\n+import android.view.View\n+import com.bumptech.glide.Glide\n+import com.example.delegateadapter.delegate.BaseDelegateAdapter\n+import com.example.delegateadapter.delegate.BaseViewHolder\n+import kotlinx.android.extensions.LayoutContainer\n+import kotlinx.android.synthetic.main.recycler_item.*\n+import java.text.SimpleDateFormat\n+\n+class CategorizedNewsDelegateAdapter(private val onClick: (String) -> Unit)\n+    : BaseDelegateAdapter<CategorizedNewsDelegateAdapter.CategorizedNewHolder, NewsItem>() {\n+\n+    override fun getLayoutId() = R.layout.recycler_item\n+\n+    override fun isForViewType(p0: MutableList<*>, p1: Int) = (p0[p1] as NewsItem).category != null\n+\n+    override fun onBindViewHolder(p0: View, p1: NewsItem, p2: CategorizedNewHolder) {","path":"app/src/main/java/android/academy/nytimes/recycler/CategorizedNewsDelegateAdapter.kt","position":20,"original_position":20,"commit_id":"e0373a972e200c4c0802d45ed92cfdf626fffcf6","original_commit_id":"e0373a972e200c4c0802d45ed92cfdf626fffcf6","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":"Аналогично - назови параметры нормально","created_at":"2018-11-03T15:28:31Z","updated_at":"2018-11-03T15:33:06Z","html_url":"https://github.com/JustBucket416/NYTimes/pull/1#discussion_r230558709","pull_request_url":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/comments/230558709"},"html":{"href":"https://github.com/JustBucket416/NYTimes/pull/1#discussion_r230558709"},"pull_request":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/1","id":228122168,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTIyMTY4","html_url":"https://github.com/JustBucket416/NYTimes/pull/1","diff_url":"https://github.com/JustBucket416/NYTimes/pull/1.diff","patch_url":"https://github.com/JustBucket416/NYTimes/pull/1.patch","issue_url":"https://api.github.com/repos/JustBucket416/NYTimes/issues/1","number":1,"state":"open","locked":false,"title":"Moved to kotlin","user":{"login":"JustBucket416","id":26853613,"node_id":"MDQ6VXNlcjI2ODUzNjEz","avatar_url":"https://avatars3.githubusercontent.com/u/26853613?v=4","gravatar_id":"","url":"https://api.github.com/users/JustBucket416","html_url":"https://github.com/JustBucket416","followers_url":"https://api.github.com/users/JustBucket416/followers","following_url":"https://api.github.com/users/JustBucket416/following{/other_user}","gists_url":"https://api.github.com/users/JustBucket416/gists{/gist_id}","starred_url":"https://api.github.com/users/JustBucket416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustBucket416/subscriptions","organizations_url":"https://api.github.com/users/JustBucket416/orgs","repos_url":"https://api.github.com/users/JustBucket416/repos","events_url":"https://api.github.com/users/JustBucket416/events{/privacy}","received_events_url":"https://api.github.com/users/JustBucket416/received_events","type":"User","site_admin":false},"body":"Moved to kotlin, but forgot to remove .idea :(","created_at":"2018-11-03T14:49:42Z","updated_at":"2018-11-03T15:33:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5106e9b90de73b15c76c49f680c614335be703a4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/1/commits","review_comments_url":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/1/comments","review_comment_url":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JustBucket416/NYTimes/issues/1/comments","statuses_url":"https://api.github.com/repos/JustBucket416/NYTimes/statuses/e0373a972e200c4c0802d45ed92cfdf626fffcf6","head":{"label":"JustBucket416:exercise4","ref":"exercise4","sha":"e0373a972e200c4c0802d45ed92cfdf626fffcf6","user":{"login":"JustBucket416","id":26853613,"node_id":"MDQ6VXNlcjI2ODUzNjEz","avatar_url":"https://avatars3.githubusercontent.com/u/26853613?v=4","gravatar_id":"","url":"https://api.github.com/users/JustBucket416","html_url":"https://github.com/JustBucket416","followers_url":"https://api.github.com/users/JustBucket416/followers","following_url":"https://api.github.com/users/JustBucket416/following{/other_user}","gists_url":"https://api.github.com/users/JustBucket416/gists{/gist_id}","starred_url":"https://api.github.com/users/JustBucket416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustBucket416/subscriptions","organizations_url":"https://api.github.com/users/JustBucket416/orgs","repos_url":"https://api.github.com/users/JustBucket416/repos","events_url":"https://api.github.com/users/JustBucket416/events{/privacy}","received_events_url":"https://api.github.com/users/JustBucket416/received_events","type":"User","site_admin":false},"repo":{"id":155966984,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU5NjY5ODQ=","name":"NYTimes","full_name":"JustBucket416/NYTimes","private":false,"owner":{"login":"JustBucket416","id":26853613,"node_id":"MDQ6VXNlcjI2ODUzNjEz","avatar_url":"https://avatars3.githubusercontent.com/u/26853613?v=4","gravatar_id":"","url":"https://api.github.com/users/JustBucket416","html_url":"https://github.com/JustBucket416","followers_url":"https://api.github.com/users/JustBucket416/followers","following_url":"https://api.github.com/users/JustBucket416/following{/other_user}","gists_url":"https://api.github.com/users/JustBucket416/gists{/gist_id}","starred_url":"https://api.github.com/users/JustBucket416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustBucket416/subscriptions","organizations_url":"https://api.github.com/users/JustBucket416/orgs","repos_url":"https://api.github.com/users/JustBucket416/repos","events_url":"https://api.github.com/users/JustBucket416/events{/privacy}","received_events_url":"https://api.github.com/users/JustBucket416/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JustBucket416/NYTimes","description":null,"fork":false,"url":"https://api.github.com/repos/JustBucket416/NYTimes","forks_url":"https://api.github.com/repos/JustBucket416/NYTimes/forks","keys_url":"https://api.github.com/repos/JustBucket416/NYTimes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JustBucket416/NYTimes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JustBucket416/NYTimes/teams","hooks_url":"https://api.github.com/repos/JustBucket416/NYTimes/hooks","issue_events_url":"https://api.github.com/repos/JustBucket416/NYTimes/issues/events{/number}","events_url":"https://api.github.com/repos/JustBucket416/NYTimes/events","assignees_url":"https://api.github.com/repos/JustBucket416/NYTimes/assignees{/user}","branches_url":"https://api.github.com/repos/JustBucket416/NYTimes/branches{/branch}","tags_url":"https://api.github.com/repos/JustBucket416/NYTimes/tags","blobs_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/refs{/sha}","trees_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JustBucket416/NYTimes/statuses/{sha}","languages_url":"https://api.github.com/repos/JustBucket416/NYTimes/languages","stargazers_url":"https://api.github.com/repos/JustBucket416/NYTimes/stargazers","contributors_url":"https://api.github.com/repos/JustBucket416/NYTimes/contributors","subscribers_url":"https://api.github.com/repos/JustBucket416/NYTimes/subscribers","subscription_url":"https://api.github.com/repos/JustBucket416/NYTimes/subscription","commits_url":"https://api.github.com/repos/JustBucket416/NYTimes/commits{/sha}","git_commits_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/commits{/sha}","comments_url":"https://api.github.com/repos/JustBucket416/NYTimes/comments{/number}","issue_comment_url":"https://api.github.com/repos/JustBucket416/NYTimes/issues/comments{/number}","contents_url":"https://api.github.com/repos/JustBucket416/NYTimes/contents/{+path}","compare_url":"https://api.github.com/repos/JustBucket416/NYTimes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JustBucket416/NYTimes/merges","archive_url":"https://api.github.com/repos/JustBucket416/NYTimes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JustBucket416/NYTimes/downloads","issues_url":"https://api.github.com/repos/JustBucket416/NYTimes/issues{/number}","pulls_url":"https://api.github.com/repos/JustBucket416/NYTimes/pulls{/number}","milestones_url":"https://api.github.com/repos/JustBucket416/NYTimes/milestones{/number}","notifications_url":"https://api.github.com/repos/JustBucket416/NYTimes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JustBucket416/NYTimes/labels{/name}","releases_url":"https://api.github.com/repos/JustBucket416/NYTimes/releases{/id}","deployments_url":"https://api.github.com/repos/JustBucket416/NYTimes/deployments","created_at":"2018-11-03T09:05:38Z","updated_at":"2018-11-03T09:10:44Z","pushed_at":"2018-11-03T14:49:42Z","git_url":"git://github.com/JustBucket416/NYTimes.git","ssh_url":"git@github.com:JustBucket416/NYTimes.git","clone_url":"https://github.com/JustBucket416/NYTimes.git","svn_url":"https://github.com/JustBucket416/NYTimes","homepage":null,"size":132,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"JustBucket416:master","ref":"master","sha":"4834ca8de925e9683b0f2168f59808182f292cf7","user":{"login":"JustBucket416","id":26853613,"node_id":"MDQ6VXNlcjI2ODUzNjEz","avatar_url":"https://avatars3.githubusercontent.com/u/26853613?v=4","gravatar_id":"","url":"https://api.github.com/users/JustBucket416","html_url":"https://github.com/JustBucket416","followers_url":"https://api.github.com/users/JustBucket416/followers","following_url":"https://api.github.com/users/JustBucket416/following{/other_user}","gists_url":"https://api.github.com/users/JustBucket416/gists{/gist_id}","starred_url":"https://api.github.com/users/JustBucket416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustBucket416/subscriptions","organizations_url":"https://api.github.com/users/JustBucket416/orgs","repos_url":"https://api.github.com/users/JustBucket416/repos","events_url":"https://api.github.com/users/JustBucket416/events{/privacy}","received_events_url":"https://api.github.com/users/JustBucket416/received_events","type":"User","site_admin":false},"repo":{"id":155966984,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU5NjY5ODQ=","name":"NYTimes","full_name":"JustBucket416/NYTimes","private":false,"owner":{"login":"JustBucket416","id":26853613,"node_id":"MDQ6VXNlcjI2ODUzNjEz","avatar_url":"https://avatars3.githubusercontent.com/u/26853613?v=4","gravatar_id":"","url":"https://api.github.com/users/JustBucket416","html_url":"https://github.com/JustBucket416","followers_url":"https://api.github.com/users/JustBucket416/followers","following_url":"https://api.github.com/users/JustBucket416/following{/other_user}","gists_url":"https://api.github.com/users/JustBucket416/gists{/gist_id}","starred_url":"https://api.github.com/users/JustBucket416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustBucket416/subscriptions","organizations_url":"https://api.github.com/users/JustBucket416/orgs","repos_url":"https://api.github.com/users/JustBucket416/repos","events_url":"https://api.github.com/users/JustBucket416/events{/privacy}","received_events_url":"https://api.github.com/users/JustBucket416/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JustBucket416/NYTimes","description":null,"fork":false,"url":"https://api.github.com/repos/JustBucket416/NYTimes","forks_url":"https://api.github.com/repos/JustBucket416/NYTimes/forks","keys_url":"https://api.github.com/repos/JustBucket416/NYTimes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JustBucket416/NYTimes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JustBucket416/NYTimes/teams","hooks_url":"https://api.github.com/repos/JustBucket416/NYTimes/hooks","issue_events_url":"https://api.github.com/repos/JustBucket416/NYTimes/issues/events{/number}","events_url":"https://api.github.com/repos/JustBucket416/NYTimes/events","assignees_url":"https://api.github.com/repos/JustBucket416/NYTimes/assignees{/user}","branches_url":"https://api.github.com/repos/JustBucket416/NYTimes/branches{/branch}","tags_url":"https://api.github.com/repos/JustBucket416/NYTimes/tags","blobs_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/refs{/sha}","trees_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JustBucket416/NYTimes/statuses/{sha}","languages_url":"https://api.github.com/repos/JustBucket416/NYTimes/languages","stargazers_url":"https://api.github.com/repos/JustBucket416/NYTimes/stargazers","contributors_url":"https://api.github.com/repos/JustBucket416/NYTimes/contributors","subscribers_url":"https://api.github.com/repos/JustBucket416/NYTimes/subscribers","subscription_url":"https://api.github.com/repos/JustBucket416/NYTimes/subscription","commits_url":"https://api.github.com/repos/JustBucket416/NYTimes/commits{/sha}","git_commits_url":"https://api.github.com/repos/JustBucket416/NYTimes/git/commits{/sha}","comments_url":"https://api.github.com/repos/JustBucket416/NYTimes/comments{/number}","issue_comment_url":"https://api.github.com/repos/JustBucket416/NYTimes/issues/comments{/number}","contents_url":"https://api.github.com/repos/JustBucket416/NYTimes/contents/{+path}","compare_url":"https://api.github.com/repos/JustBucket416/NYTimes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JustBucket416/NYTimes/merges","archive_url":"https://api.github.com/repos/JustBucket416/NYTimes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JustBucket416/NYTimes/downloads","issues_url":"https://api.github.com/repos/JustBucket416/NYTimes/issues{/number}","pulls_url":"https://api.github.com/repos/JustBucket416/NYTimes/pulls{/number}","milestones_url":"https://api.github.com/repos/JustBucket416/NYTimes/milestones{/number}","notifications_url":"https://api.github.com/repos/JustBucket416/NYTimes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JustBucket416/NYTimes/labels{/name}","releases_url":"https://api.github.com/repos/JustBucket416/NYTimes/releases{/id}","deployments_url":"https://api.github.com/repos/JustBucket416/NYTimes/deployments","created_at":"2018-11-03T09:05:38Z","updated_at":"2018-11-03T09:10:44Z","pushed_at":"2018-11-03T14:49:42Z","git_url":"git://github.com/JustBucket416/NYTimes.git","ssh_url":"git@github.com:JustBucket416/NYTimes.git","clone_url":"https://github.com/JustBucket416/NYTimes.git","svn_url":"https://github.com/JustBucket416/NYTimes","homepage":null,"size":132,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/1"},"html":{"href":"https://github.com/JustBucket416/NYTimes/pull/1"},"issue":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/issues/1"},"comments":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/JustBucket416/NYTimes/statuses/e0373a972e200c4c0802d45ed92cfdf626fffcf6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"PStrelchenkoHH"}}