{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/comments/76196679","id":76196679,"diff_hunk":"@@ -0,0 +1,103 @@\n+package com.example.framgia.t1_rss_feed.helper;\n+\n+import android.support.v7.widget.GridLayoutManager;\n+import android.support.v7.widget.LinearLayoutManager;\n+import android.support.v7.widget.RecyclerView;\n+import android.support.v7.widget.StaggeredGridLayoutManager;\n+\n+/**\n+ * Copyright @ 2016 Framgia inc\n+ * Created by GianhTNS on 24/08/2016.\n+ */\n+public abstract class EndlessRecyclerViewScrollListener extends RecyclerView.OnScrollListener {\n+    // The minimum amount of items to have below your current scroll position\n+    // before loading more.\n+    private int visibleThreshold = 5;\n+    // The current offset index of data you have loaded\n+    private int currentPage = 0;\n+    // The total number of items in the dataset after the last load\n+    private int previousTotalItemCount = 0;\n+    // True if we are still waiting for the last set of data to load.\n+    private boolean loading = true;\n+    // Sets the starting page index\n+    private int startingPageIndex = 0;","path":"app/src/main/java/com/example/framgia/t1_rss_feed/helper/EndlessRecyclerViewScrollListener.java","position":23,"original_position":23,"commit_id":"1d0032113d17c3f6f97c3dd36d7edd672f7c525d","original_commit_id":"1d0032113d17c3f6f97c3dd36d7edd672f7c525d","user":{"login":"khacpv","id":4558856,"avatar_url":"https://avatars.githubusercontent.com/u/4558856?v=3","gravatar_id":"","url":"https://api.github.com/users/khacpv","html_url":"https://github.com/khacpv","followers_url":"https://api.github.com/users/khacpv/followers","following_url":"https://api.github.com/users/khacpv/following{/other_user}","gists_url":"https://api.github.com/users/khacpv/gists{/gist_id}","starred_url":"https://api.github.com/users/khacpv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khacpv/subscriptions","organizations_url":"https://api.github.com/users/khacpv/orgs","repos_url":"https://api.github.com/users/khacpv/repos","events_url":"https://api.github.com/users/khacpv/events{/privacy}","received_events_url":"https://api.github.com/users/khacpv/received_events","type":"User","site_admin":false},"body":"tên biến private với tiền tố m.","created_at":"2016-08-25T07:58:14Z","updated_at":"2016-08-25T07:58:14Z","html_url":"https://github.com/framgia/T1-RSS-feed/pull/4#discussion_r76196679","pull_request_url":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/comments/76196679"},"html":{"href":"https://github.com/framgia/T1-RSS-feed/pull/4#discussion_r76196679"},"pull_request":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/4","id":82670872,"html_url":"https://github.com/framgia/T1-RSS-feed/pull/4","diff_url":"https://github.com/framgia/T1-RSS-feed/pull/4.diff","patch_url":"https://github.com/framgia/T1-RSS-feed/pull/4.patch","issue_url":"https://api.github.com/repos/framgia/T1-RSS-feed/issues/4","number":4,"state":"open","locked":false,"title":"Task/73853 - UI home screens","user":{"login":"GianhTran","id":20894740,"avatar_url":"https://avatars.githubusercontent.com/u/20894740?v=3","gravatar_id":"","url":"https://api.github.com/users/GianhTran","html_url":"https://github.com/GianhTran","followers_url":"https://api.github.com/users/GianhTran/followers","following_url":"https://api.github.com/users/GianhTran/following{/other_user}","gists_url":"https://api.github.com/users/GianhTran/gists{/gist_id}","starred_url":"https://api.github.com/users/GianhTran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GianhTran/subscriptions","organizations_url":"https://api.github.com/users/GianhTran/orgs","repos_url":"https://api.github.com/users/GianhTran/repos","events_url":"https://api.github.com/users/GianhTran/events{/privacy}","received_events_url":"https://api.github.com/users/GianhTran/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-25T07:41:15Z","updated_at":"2016-08-25T07:58:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0fd673ced6e014aaa92785e41fdf3ea24a52145","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/4/commits","review_comments_url":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/4/comments","review_comment_url":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/T1-RSS-feed/issues/4/comments","statuses_url":"https://api.github.com/repos/framgia/T1-RSS-feed/statuses/1d0032113d17c3f6f97c3dd36d7edd672f7c525d","head":{"label":"GianhTran:task/1020","ref":"task/1020","sha":"1d0032113d17c3f6f97c3dd36d7edd672f7c525d","user":{"login":"GianhTran","id":20894740,"avatar_url":"https://avatars.githubusercontent.com/u/20894740?v=3","gravatar_id":"","url":"https://api.github.com/users/GianhTran","html_url":"https://github.com/GianhTran","followers_url":"https://api.github.com/users/GianhTran/followers","following_url":"https://api.github.com/users/GianhTran/following{/other_user}","gists_url":"https://api.github.com/users/GianhTran/gists{/gist_id}","starred_url":"https://api.github.com/users/GianhTran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GianhTran/subscriptions","organizations_url":"https://api.github.com/users/GianhTran/orgs","repos_url":"https://api.github.com/users/GianhTran/repos","events_url":"https://api.github.com/users/GianhTran/events{/privacy}","received_events_url":"https://api.github.com/users/GianhTran/received_events","type":"User","site_admin":false},"repo":{"id":66324284,"name":"T1-RSS-feed","full_name":"GianhTran/T1-RSS-feed","owner":{"login":"GianhTran","id":20894740,"avatar_url":"https://avatars.githubusercontent.com/u/20894740?v=3","gravatar_id":"","url":"https://api.github.com/users/GianhTran","html_url":"https://github.com/GianhTran","followers_url":"https://api.github.com/users/GianhTran/followers","following_url":"https://api.github.com/users/GianhTran/following{/other_user}","gists_url":"https://api.github.com/users/GianhTran/gists{/gist_id}","starred_url":"https://api.github.com/users/GianhTran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GianhTran/subscriptions","organizations_url":"https://api.github.com/users/GianhTran/orgs","repos_url":"https://api.github.com/users/GianhTran/repos","events_url":"https://api.github.com/users/GianhTran/events{/privacy}","received_events_url":"https://api.github.com/users/GianhTran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GianhTran/T1-RSS-feed","description":"T1-RSS-feed is an internal training project","fork":true,"url":"https://api.github.com/repos/GianhTran/T1-RSS-feed","forks_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/forks","keys_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/teams","hooks_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/hooks","issue_events_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/issues/events{/number}","events_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/events","assignees_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/assignees{/user}","branches_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/branches{/branch}","tags_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/tags","blobs_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/git/refs{/sha}","trees_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/statuses/{sha}","languages_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/languages","stargazers_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/stargazers","contributors_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/contributors","subscribers_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/subscribers","subscription_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/subscription","commits_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/commits{/sha}","git_commits_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/git/commits{/sha}","comments_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/comments{/number}","issue_comment_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/issues/comments{/number}","contents_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/contents/{+path}","compare_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/merges","archive_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/downloads","issues_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/issues{/number}","pulls_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/pulls{/number}","milestones_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/milestones{/number}","notifications_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/labels{/name}","releases_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/releases{/id}","deployments_url":"https://api.github.com/repos/GianhTran/T1-RSS-feed/deployments","created_at":"2016-08-23T02:10:25Z","updated_at":"2016-08-23T01:49:48Z","pushed_at":"2016-08-25T07:45:40Z","git_url":"git://github.com/GianhTran/T1-RSS-feed.git","ssh_url":"git@github.com:GianhTran/T1-RSS-feed.git","clone_url":"https://github.com/GianhTran/T1-RSS-feed.git","svn_url":"https://github.com/GianhTran/T1-RSS-feed","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"56ed5b8853ce8b650c027277c90f8b218d8e80c7","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":66322770,"name":"T1-RSS-feed","full_name":"framgia/T1-RSS-feed","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/T1-RSS-feed","description":"T1-RSS-feed is an internal training project","fork":false,"url":"https://api.github.com/repos/framgia/T1-RSS-feed","forks_url":"https://api.github.com/repos/framgia/T1-RSS-feed/forks","keys_url":"https://api.github.com/repos/framgia/T1-RSS-feed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/T1-RSS-feed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/T1-RSS-feed/teams","hooks_url":"https://api.github.com/repos/framgia/T1-RSS-feed/hooks","issue_events_url":"https://api.github.com/repos/framgia/T1-RSS-feed/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/T1-RSS-feed/events","assignees_url":"https://api.github.com/repos/framgia/T1-RSS-feed/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/T1-RSS-feed/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/T1-RSS-feed/tags","blobs_url":"https://api.github.com/repos/framgia/T1-RSS-feed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/T1-RSS-feed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/T1-RSS-feed/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/T1-RSS-feed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/T1-RSS-feed/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/T1-RSS-feed/languages","stargazers_url":"https://api.github.com/repos/framgia/T1-RSS-feed/stargazers","contributors_url":"https://api.github.com/repos/framgia/T1-RSS-feed/contributors","subscribers_url":"https://api.github.com/repos/framgia/T1-RSS-feed/subscribers","subscription_url":"https://api.github.com/repos/framgia/T1-RSS-feed/subscription","commits_url":"https://api.github.com/repos/framgia/T1-RSS-feed/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/T1-RSS-feed/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/T1-RSS-feed/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/T1-RSS-feed/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/T1-RSS-feed/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/T1-RSS-feed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/T1-RSS-feed/merges","archive_url":"https://api.github.com/repos/framgia/T1-RSS-feed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/T1-RSS-feed/downloads","issues_url":"https://api.github.com/repos/framgia/T1-RSS-feed/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/T1-RSS-feed/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/T1-RSS-feed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/T1-RSS-feed/labels{/name}","releases_url":"https://api.github.com/repos/framgia/T1-RSS-feed/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/T1-RSS-feed/deployments","created_at":"2016-08-23T01:49:48Z","updated_at":"2016-08-23T01:49:48Z","pushed_at":"2016-08-25T07:45:40Z","git_url":"git://github.com/framgia/T1-RSS-feed.git","ssh_url":"git@github.com:framgia/T1-RSS-feed.git","clone_url":"https://github.com/framgia/T1-RSS-feed.git","svn_url":"https://github.com/framgia/T1-RSS-feed","homepage":null,"size":89,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/4"},"html":{"href":"https://github.com/framgia/T1-RSS-feed/pull/4"},"issue":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/issues/4"},"comments":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/T1-RSS-feed/statuses/1d0032113d17c3f6f97c3dd36d7edd672f7c525d"}}}}
{"actor":{"display_login":"khacpv"}}