payload: {"action":"created","comment":{"url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/comments/287929311","pull_request_review_id":242447587,"id":287929311,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4NzkyOTMxMQ==","diff_hunk":"@@ -0,0 +1,28 @@\n+package com.codingblocks.cbonlineapp.commons\n+\n+import androidx.recyclerview.widget.DiffUtil\n+import com.codingblocks.onlineapi.models.Leaderboard\n+\n+/**\n+ * The DiffUtil ItemCallback class for the [Leaderboard] model class.\n+ * This enables proper diffing of items in Recycler Views using [DiffUtil]\n+ */\n+class LeaderboardDiffCallback : DiffUtil.ItemCallback<Leaderboard>() {\n+\n+    /**\n+     * return true if the contents of both items are same\n+     */\n+    override fun areContentsTheSame(oldItem: Leaderboard, newItem: Leaderboard): Boolean {\n+        return oldItem.userName == newItem.userName &&","path":"app/src/main/java/com/codingblocks/cbonlineapp/commons/LeaderboardDiffCallback.kt","position":16,"original_position":16,"commit_id":"b8db3346e7987af2082038034663e983b9b08534","original_commit_id":"b8db3346e7987af2082038034663e983b9b08534","user":{"login":"aggarwalpulkit596","id":29139786,"node_id":"MDQ6VXNlcjI5MTM5Nzg2","avatar_url":"https://avatars1.githubusercontent.com/u/29139786?v=4","gravatar_id":"","url":"https://api.github.com/users/aggarwalpulkit596","html_url":"https://github.com/aggarwalpulkit596","followers_url":"https://api.github.com/users/aggarwalpulkit596/followers","following_url":"https://api.github.com/users/aggarwalpulkit596/following{/other_user}","gists_url":"https://api.github.com/users/aggarwalpulkit596/gists{/gist_id}","starred_url":"https://api.github.com/users/aggarwalpulkit596/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aggarwalpulkit596/subscriptions","organizations_url":"https://api.github.com/users/aggarwalpulkit596/orgs","repos_url":"https://api.github.com/users/aggarwalpulkit596/repos","events_url":"https://api.github.com/users/aggarwalpulkit596/events{/privacy}","received_events_url":"https://api.github.com/users/aggarwalpulkit596/received_events","type":"User","site_admin":false},"body":"Convert leaderboard class into a data.class\r\n","created_at":"2019-05-28T04:54:20Z","updated_at":"2019-05-28T04:54:20Z","html_url":"https://github.com/coding-blocks/CBOnlineApp/pull/224#discussion_r287929311","pull_request_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/224","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/comments/287929311"},"html":{"href":"https://github.com/coding-blocks/CBOnlineApp/pull/224#discussion_r287929311"},"pull_request":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/224"}},"in_reply_to_id":287927680},"pull_request":{"url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/224","id":282272812,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgyMjcyODEy","html_url":"https://github.com/coding-blocks/CBOnlineApp/pull/224","diff_url":"https://github.com/coding-blocks/CBOnlineApp/pull/224.diff","patch_url":"https://github.com/coding-blocks/CBOnlineApp/pull/224.patch","issue_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/issues/224","number":224,"state":"open","locked":false,"title":"[WIP] Add leaderboard on course page","user":{"login":"thedevelopersanjeev","id":34043056,"node_id":"MDQ6VXNlcjM0MDQzMDU2","avatar_url":"https://avatars2.githubusercontent.com/u/34043056?v=4","gravatar_id":"","url":"https://api.github.com/users/thedevelopersanjeev","html_url":"https://github.com/thedevelopersanjeev","followers_url":"https://api.github.com/users/thedevelopersanjeev/followers","following_url":"https://api.github.com/users/thedevelopersanjeev/following{/other_user}","gists_url":"https://api.github.com/users/thedevelopersanjeev/gists{/gist_id}","starred_url":"https://api.github.com/users/thedevelopersanjeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedevelopersanjeev/subscriptions","organizations_url":"https://api.github.com/users/thedevelopersanjeev/orgs","repos_url":"https://api.github.com/users/thedevelopersanjeev/repos","events_url":"https://api.github.com/users/thedevelopersanjeev/events{/privacy}","received_events_url":"https://api.github.com/users/thedevelopersanjeev/received_events","type":"User","site_admin":false},"body":"Fixes #151 \r\n\r\nChanges: Added LeaderboardFragment to show leaderboard on course consumption page.\r\n\r\nScreenshots for the change:\r\n","created_at":"2019-05-26T05:36:50Z","updated_at":"2019-05-28T04:54:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bdb33139c947dd8bb94c763c9020859a5c2757e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/224/commits","review_comments_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/224/comments","review_comment_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/issues/224/comments","statuses_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/statuses/b8db3346e7987af2082038034663e983b9b08534","head":{"label":"thedevelopersanjeev:development","ref":"development","sha":"b8db3346e7987af2082038034663e983b9b08534","user":{"login":"thedevelopersanjeev","id":34043056,"node_id":"MDQ6VXNlcjM0MDQzMDU2","avatar_url":"https://avatars2.githubusercontent.com/u/34043056?v=4","gravatar_id":"","url":"https://api.github.com/users/thedevelopersanjeev","html_url":"https://github.com/thedevelopersanjeev","followers_url":"https://api.github.com/users/thedevelopersanjeev/followers","following_url":"https://api.github.com/users/thedevelopersanjeev/following{/other_user}","gists_url":"https://api.github.com/users/thedevelopersanjeev/gists{/gist_id}","starred_url":"https://api.github.com/users/thedevelopersanjeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedevelopersanjeev/subscriptions","organizations_url":"https://api.github.com/users/thedevelopersanjeev/orgs","repos_url":"https://api.github.com/users/thedevelopersanjeev/repos","events_url":"https://api.github.com/users/thedevelopersanjeev/events{/privacy}","received_events_url":"https://api.github.com/users/thedevelopersanjeev/received_events","type":"User","site_admin":false},"repo":{"id":187406866,"node_id":"MDEwOlJlcG9zaXRvcnkxODc0MDY4NjY=","name":"CBOnlineApp","full_name":"thedevelopersanjeev/CBOnlineApp","private":false,"owner":{"login":"thedevelopersanjeev","id":34043056,"node_id":"MDQ6VXNlcjM0MDQzMDU2","avatar_url":"https://avatars2.githubusercontent.com/u/34043056?v=4","gravatar_id":"","url":"https://api.github.com/users/thedevelopersanjeev","html_url":"https://github.com/thedevelopersanjeev","followers_url":"https://api.github.com/users/thedevelopersanjeev/followers","following_url":"https://api.github.com/users/thedevelopersanjeev/following{/other_user}","gists_url":"https://api.github.com/users/thedevelopersanjeev/gists{/gist_id}","starred_url":"https://api.github.com/users/thedevelopersanjeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedevelopersanjeev/subscriptions","organizations_url":"https://api.github.com/users/thedevelopersanjeev/orgs","repos_url":"https://api.github.com/users/thedevelopersanjeev/repos","events_url":"https://api.github.com/users/thedevelopersanjeev/events{/privacy}","received_events_url":"https://api.github.com/users/thedevelopersanjeev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/thedevelopersanjeev/CBOnlineApp","description":"😎⚡️Android App for Coding Blocks Online Courses","fork":true,"url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp","forks_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/forks","keys_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/teams","hooks_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/hooks","issue_events_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/issues/events{/number}","events_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/events","assignees_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/assignees{/user}","branches_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/branches{/branch}","tags_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/tags","blobs_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/statuses/{sha}","languages_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/languages","stargazers_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/stargazers","contributors_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/contributors","subscribers_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/subscribers","subscription_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/subscription","commits_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/contents/{+path}","compare_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/merges","archive_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/downloads","issues_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/issues{/number}","pulls_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/pulls{/number}","milestones_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/milestones{/number}","notifications_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/labels{/name}","releases_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/releases{/id}","deployments_url":"https://api.github.com/repos/thedevelopersanjeev/CBOnlineApp/deployments","created_at":"2019-05-18T21:26:33Z","updated_at":"2019-05-28T04:24:52Z","pushed_at":"2019-05-28T04:24:50Z","git_url":"git://github.com/thedevelopersanjeev/CBOnlineApp.git","ssh_url":"git@github.com:thedevelopersanjeev/CBOnlineApp.git","clone_url":"https://github.com/thedevelopersanjeev/CBOnlineApp.git","svn_url":"https://github.com/thedevelopersanjeev/CBOnlineApp","homepage":"https://online.codingblocks.com","size":8592,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"coding-blocks:development","ref":"development","sha":"be700313df42c2cf496326dd3fd2e188fe843558","user":{"login":"coding-blocks","id":19412721,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDEyNzIx","avatar_url":"https://avatars3.githubusercontent.com/u/19412721?v=4","gravatar_id":"","url":"https://api.github.com/users/coding-blocks","html_url":"https://github.com/coding-blocks","followers_url":"https://api.github.com/users/coding-blocks/followers","following_url":"https://api.github.com/users/coding-blocks/following{/other_user}","gists_url":"https://api.github.com/users/coding-blocks/gists{/gist_id}","starred_url":"https://api.github.com/users/coding-blocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coding-blocks/subscriptions","organizations_url":"https://api.github.com/users/coding-blocks/orgs","repos_url":"https://api.github.com/users/coding-blocks/repos","events_url":"https://api.github.com/users/coding-blocks/events{/privacy}","received_events_url":"https://api.github.com/users/coding-blocks/received_events","type":"Organization","site_admin":false},"repo":{"id":148021765,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgwMjE3NjU=","name":"CBOnlineApp","full_name":"coding-blocks/CBOnlineApp","private":false,"owner":{"login":"coding-blocks","id":19412721,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDEyNzIx","avatar_url":"https://avatars3.githubusercontent.com/u/19412721?v=4","gravatar_id":"","url":"https://api.github.com/users/coding-blocks","html_url":"https://github.com/coding-blocks","followers_url":"https://api.github.com/users/coding-blocks/followers","following_url":"https://api.github.com/users/coding-blocks/following{/other_user}","gists_url":"https://api.github.com/users/coding-blocks/gists{/gist_id}","starred_url":"https://api.github.com/users/coding-blocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coding-blocks/subscriptions","organizations_url":"https://api.github.com/users/coding-blocks/orgs","repos_url":"https://api.github.com/users/coding-blocks/repos","events_url":"https://api.github.com/users/coding-blocks/events{/privacy}","received_events_url":"https://api.github.com/users/coding-blocks/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/coding-blocks/CBOnlineApp","description":"😎⚡️Android App for Coding Blocks Online Courses","fork":false,"url":"https://api.github.com/repos/coding-blocks/CBOnlineApp","forks_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/forks","keys_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/teams","hooks_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/hooks","issue_events_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/issues/events{/number}","events_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/events","assignees_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/assignees{/user}","branches_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/branches{/branch}","tags_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/tags","blobs_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/statuses/{sha}","languages_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/languages","stargazers_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/stargazers","contributors_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/contributors","subscribers_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/subscribers","subscription_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/subscription","commits_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/contents/{+path}","compare_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/merges","archive_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/downloads","issues_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/issues{/number}","pulls_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls{/number}","milestones_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/milestones{/number}","notifications_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/labels{/name}","releases_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/releases{/id}","deployments_url":"https://api.github.com/repos/coding-blocks/CBOnlineApp/deployments","created_at":"2018-09-09T12:09:48Z","updated_at":"2019-05-28T02:14:29Z","pushed_at":"2019-05-28T04:24:51Z","git_url":"git://github.com/coding-blocks/CBOnlineApp.git","ssh_url":"git@github.com:coding-blocks/CBOnlineApp.git","clone_url":"https://github.com/coding-blocks/CBOnlineApp.git","svn_url":"https://github.com/coding-blocks/CBOnlineApp","homepage":"https://online.codingblocks.com","size":8561,"stargazers_count":26,"watchers_count":26,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":17,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":39,"open_issues":17,"watchers":26,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/224"},"html":{"href":"https://github.com/coding-blocks/CBOnlineApp/pull/224"},"issue":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/issues/224"},"comments":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/issues/224/comments"},"review_comments":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/224/comments"},"review_comment":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/pulls/224/commits"},"statuses":{"href":"https://api.github.com/repos/coding-blocks/CBOnlineApp/statuses/b8db3346e7987af2082038034663e983b9b08534"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"aggarwalpulkit596"}}