{"action":"created","comment":{"url":"https://api.github.com/repos/expense-manager/expense-manager/pulls/comments/77565381","id":77565381,"diff_hunk":"@@ -99,7 +99,8 @@ public void onResume() {\n         super.onResume();\n         Realm realm = Realm.getDefaultInstance();\n         realm.addChangeListener(v -> invalidateViews());\n-        SyncCategory.getAllCategoriesByGroupId(groupId);","path":"app/src/main/java/com/expensemanager/app/category/CategoryActivity.java","position":4,"original_position":4,"commit_id":"900e43320de35f29ca83159f924971237bb93175","original_commit_id":"900e43320de35f29ca83159f924971237bb93175","user":{"login":"eclipsegst","id":3318745,"avatar_url":"https://avatars.githubusercontent.com/u/3318745?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipsegst","html_url":"https://github.com/eclipsegst","followers_url":"https://api.github.com/users/eclipsegst/followers","following_url":"https://api.github.com/users/eclipsegst/following{/other_user}","gists_url":"https://api.github.com/users/eclipsegst/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipsegst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipsegst/subscriptions","organizations_url":"https://api.github.com/users/eclipsegst/orgs","repos_url":"https://api.github.com/users/eclipsegst/repos","events_url":"https://api.github.com/users/eclipsegst/events{/privacy}","received_events_url":"https://api.github.com/users/eclipsegst/received_events","type":"User","site_admin":false},"body":"Also check line 72 in this file: SyncCategory.getAllCategoriesByGroupId(groupId);\r\n\r\nLet's save a time mark for sync category, let's just auto sync once a day. If we call this method in this file today, then we won't call this line. We can use a sharedpreference to track this.","created_at":"2016-09-06T02:15:42Z","updated_at":"2016-09-06T02:15:42Z","html_url":"https://github.com/expense-manager/expense-manager/pull/48#discussion_r77565381","pull_request_url":"https://api.github.com/repos/expense-manager/expense-manager/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/expense-manager/expense-manager/pulls/comments/77565381"},"html":{"href":"https://github.com/expense-manager/expense-manager/pull/48#discussion_r77565381"},"pull_request":{"href":"https://api.github.com/repos/expense-manager/expense-manager/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/expense-manager/expense-manager/pulls/48","id":84051129,"html_url":"https://github.com/expense-manager/expense-manager/pull/48","diff_url":"https://github.com/expense-manager/expense-manager/pull/48.diff","patch_url":"https://github.com/expense-manager/expense-manager/pull/48.patch","issue_url":"https://api.github.com/repos/expense-manager/expense-manager/issues/48","number":48,"state":"open","locked":false,"title":"Zekun 0905","user":{"login":"eclipsegst","id":3318745,"avatar_url":"https://avatars.githubusercontent.com/u/3318745?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipsegst","html_url":"https://github.com/eclipsegst","followers_url":"https://api.github.com/users/eclipsegst/followers","following_url":"https://api.github.com/users/eclipsegst/following{/other_user}","gists_url":"https://api.github.com/users/eclipsegst/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipsegst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipsegst/subscriptions","organizations_url":"https://api.github.com/users/eclipsegst/orgs","repos_url":"https://api.github.com/users/eclipsegst/repos","events_url":"https://api.github.com/users/eclipsegst/events{/privacy}","received_events_url":"https://api.github.com/users/eclipsegst/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-06T02:08:17Z","updated_at":"2016-09-06T02:15:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"590946043bb5b61f63fab5aac8055eae6f8271f8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/expense-manager/expense-manager/pulls/48/commits","review_comments_url":"https://api.github.com/repos/expense-manager/expense-manager/pulls/48/comments","review_comment_url":"https://api.github.com/repos/expense-manager/expense-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/expense-manager/expense-manager/issues/48/comments","statuses_url":"https://api.github.com/repos/expense-manager/expense-manager/statuses/900e43320de35f29ca83159f924971237bb93175","head":{"label":"expense-manager:zekun_0905","ref":"zekun_0905","sha":"900e43320de35f29ca83159f924971237bb93175","user":{"login":"expense-manager","id":21030597,"avatar_url":"https://avatars.githubusercontent.com/u/21030597?v=3","gravatar_id":"","url":"https://api.github.com/users/expense-manager","html_url":"https://github.com/expense-manager","followers_url":"https://api.github.com/users/expense-manager/followers","following_url":"https://api.github.com/users/expense-manager/following{/other_user}","gists_url":"https://api.github.com/users/expense-manager/gists{/gist_id}","starred_url":"https://api.github.com/users/expense-manager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expense-manager/subscriptions","organizations_url":"https://api.github.com/users/expense-manager/orgs","repos_url":"https://api.github.com/users/expense-manager/repos","events_url":"https://api.github.com/users/expense-manager/events{/privacy}","received_events_url":"https://api.github.com/users/expense-manager/received_events","type":"Organization","site_admin":false},"repo":{"id":65701639,"name":"expense-manager","full_name":"expense-manager/expense-manager","owner":{"login":"expense-manager","id":21030597,"avatar_url":"https://avatars.githubusercontent.com/u/21030597?v=3","gravatar_id":"","url":"https://api.github.com/users/expense-manager","html_url":"https://github.com/expense-manager","followers_url":"https://api.github.com/users/expense-manager/followers","following_url":"https://api.github.com/users/expense-manager/following{/other_user}","gists_url":"https://api.github.com/users/expense-manager/gists{/gist_id}","starred_url":"https://api.github.com/users/expense-manager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expense-manager/subscriptions","organizations_url":"https://api.github.com/users/expense-manager/orgs","repos_url":"https://api.github.com/users/expense-manager/repos","events_url":"https://api.github.com/users/expense-manager/events{/privacy}","received_events_url":"https://api.github.com/users/expense-manager/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/expense-manager/expense-manager","description":null,"fork":false,"url":"https://api.github.com/repos/expense-manager/expense-manager","forks_url":"https://api.github.com/repos/expense-manager/expense-manager/forks","keys_url":"https://api.github.com/repos/expense-manager/expense-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/expense-manager/expense-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/expense-manager/expense-manager/teams","hooks_url":"https://api.github.com/repos/expense-manager/expense-manager/hooks","issue_events_url":"https://api.github.com/repos/expense-manager/expense-manager/issues/events{/number}","events_url":"https://api.github.com/repos/expense-manager/expense-manager/events","assignees_url":"https://api.github.com/repos/expense-manager/expense-manager/assignees{/user}","branches_url":"https://api.github.com/repos/expense-manager/expense-manager/branches{/branch}","tags_url":"https://api.github.com/repos/expense-manager/expense-manager/tags","blobs_url":"https://api.github.com/repos/expense-manager/expense-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/expense-manager/expense-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/expense-manager/expense-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/expense-manager/expense-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/expense-manager/expense-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/expense-manager/expense-manager/languages","stargazers_url":"https://api.github.com/repos/expense-manager/expense-manager/stargazers","contributors_url":"https://api.github.com/repos/expense-manager/expense-manager/contributors","subscribers_url":"https://api.github.com/repos/expense-manager/expense-manager/subscribers","subscription_url":"https://api.github.com/repos/expense-manager/expense-manager/subscription","commits_url":"https://api.github.com/repos/expense-manager/expense-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/expense-manager/expense-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/expense-manager/expense-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/expense-manager/expense-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/expense-manager/expense-manager/contents/{+path}","compare_url":"https://api.github.com/repos/expense-manager/expense-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/expense-manager/expense-manager/merges","archive_url":"https://api.github.com/repos/expense-manager/expense-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/expense-manager/expense-manager/downloads","issues_url":"https://api.github.com/repos/expense-manager/expense-manager/issues{/number}","pulls_url":"https://api.github.com/repos/expense-manager/expense-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/expense-manager/expense-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/expense-manager/expense-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/expense-manager/expense-manager/labels{/name}","releases_url":"https://api.github.com/repos/expense-manager/expense-manager/releases{/id}","deployments_url":"https://api.github.com/repos/expense-manager/expense-manager/deployments","created_at":"2016-08-15T03:26:55Z","updated_at":"2016-08-15T03:31:29Z","pushed_at":"2016-09-06T02:08:18Z","git_url":"git://github.com/expense-manager/expense-manager.git","ssh_url":"git@github.com:expense-manager/expense-manager.git","clone_url":"https://github.com/expense-manager/expense-manager.git","svn_url":"https://github.com/expense-manager/expense-manager","homepage":null,"size":1068,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"expense-manager:master","ref":"master","sha":"d825b613f6e1be92309bb163548738d87ac683f3","user":{"login":"expense-manager","id":21030597,"avatar_url":"https://avatars.githubusercontent.com/u/21030597?v=3","gravatar_id":"","url":"https://api.github.com/users/expense-manager","html_url":"https://github.com/expense-manager","followers_url":"https://api.github.com/users/expense-manager/followers","following_url":"https://api.github.com/users/expense-manager/following{/other_user}","gists_url":"https://api.github.com/users/expense-manager/gists{/gist_id}","starred_url":"https://api.github.com/users/expense-manager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expense-manager/subscriptions","organizations_url":"https://api.github.com/users/expense-manager/orgs","repos_url":"https://api.github.com/users/expense-manager/repos","events_url":"https://api.github.com/users/expense-manager/events{/privacy}","received_events_url":"https://api.github.com/users/expense-manager/received_events","type":"Organization","site_admin":false},"repo":{"id":65701639,"name":"expense-manager","full_name":"expense-manager/expense-manager","owner":{"login":"expense-manager","id":21030597,"avatar_url":"https://avatars.githubusercontent.com/u/21030597?v=3","gravatar_id":"","url":"https://api.github.com/users/expense-manager","html_url":"https://github.com/expense-manager","followers_url":"https://api.github.com/users/expense-manager/followers","following_url":"https://api.github.com/users/expense-manager/following{/other_user}","gists_url":"https://api.github.com/users/expense-manager/gists{/gist_id}","starred_url":"https://api.github.com/users/expense-manager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expense-manager/subscriptions","organizations_url":"https://api.github.com/users/expense-manager/orgs","repos_url":"https://api.github.com/users/expense-manager/repos","events_url":"https://api.github.com/users/expense-manager/events{/privacy}","received_events_url":"https://api.github.com/users/expense-manager/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/expense-manager/expense-manager","description":null,"fork":false,"url":"https://api.github.com/repos/expense-manager/expense-manager","forks_url":"https://api.github.com/repos/expense-manager/expense-manager/forks","keys_url":"https://api.github.com/repos/expense-manager/expense-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/expense-manager/expense-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/expense-manager/expense-manager/teams","hooks_url":"https://api.github.com/repos/expense-manager/expense-manager/hooks","issue_events_url":"https://api.github.com/repos/expense-manager/expense-manager/issues/events{/number}","events_url":"https://api.github.com/repos/expense-manager/expense-manager/events","assignees_url":"https://api.github.com/repos/expense-manager/expense-manager/assignees{/user}","branches_url":"https://api.github.com/repos/expense-manager/expense-manager/branches{/branch}","tags_url":"https://api.github.com/repos/expense-manager/expense-manager/tags","blobs_url":"https://api.github.com/repos/expense-manager/expense-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/expense-manager/expense-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/expense-manager/expense-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/expense-manager/expense-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/expense-manager/expense-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/expense-manager/expense-manager/languages","stargazers_url":"https://api.github.com/repos/expense-manager/expense-manager/stargazers","contributors_url":"https://api.github.com/repos/expense-manager/expense-manager/contributors","subscribers_url":"https://api.github.com/repos/expense-manager/expense-manager/subscribers","subscription_url":"https://api.github.com/repos/expense-manager/expense-manager/subscription","commits_url":"https://api.github.com/repos/expense-manager/expense-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/expense-manager/expense-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/expense-manager/expense-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/expense-manager/expense-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/expense-manager/expense-manager/contents/{+path}","compare_url":"https://api.github.com/repos/expense-manager/expense-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/expense-manager/expense-manager/merges","archive_url":"https://api.github.com/repos/expense-manager/expense-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/expense-manager/expense-manager/downloads","issues_url":"https://api.github.com/repos/expense-manager/expense-manager/issues{/number}","pulls_url":"https://api.github.com/repos/expense-manager/expense-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/expense-manager/expense-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/expense-manager/expense-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/expense-manager/expense-manager/labels{/name}","releases_url":"https://api.github.com/repos/expense-manager/expense-manager/releases{/id}","deployments_url":"https://api.github.com/repos/expense-manager/expense-manager/deployments","created_at":"2016-08-15T03:26:55Z","updated_at":"2016-08-15T03:31:29Z","pushed_at":"2016-09-06T02:08:18Z","git_url":"git://github.com/expense-manager/expense-manager.git","ssh_url":"git@github.com:expense-manager/expense-manager.git","clone_url":"https://github.com/expense-manager/expense-manager.git","svn_url":"https://github.com/expense-manager/expense-manager","homepage":null,"size":1068,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/expense-manager/expense-manager/pulls/48"},"html":{"href":"https://github.com/expense-manager/expense-manager/pull/48"},"issue":{"href":"https://api.github.com/repos/expense-manager/expense-manager/issues/48"},"comments":{"href":"https://api.github.com/repos/expense-manager/expense-manager/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/expense-manager/expense-manager/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/expense-manager/expense-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/expense-manager/expense-manager/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/expense-manager/expense-manager/statuses/900e43320de35f29ca83159f924971237bb93175"}}}}
{"actor":{"display_login":"eclipsegst"}}