{"action":"created","comment":{"url":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/comments/72408078","id":72408078,"diff_hunk":"@@ -23,18 +24,27 @@\n     private int mLayoutId;\r\n     private ArrayList<Task> mTaskItems;\r\n \r\n+    private String[] mStringStatus;\r\n+    private String[] mStringPriority;\r\n+\r\n     public TaskListAdapter(Activity context, int resource, ArrayList<Task> list) {\r\n         super(context, resource, list);\r\n         this.mContext = context;\r\n         this.mLayoutId = resource;\r\n         this.mTaskItems = list;\r\n+        initData();\r\n     }\r\n \r\n     @Override\r\n     public int getCount() {\r\n         return mTaskItems.size();\r\n     }\r\n \r\n+    public void initData() {\r\n+        mStringPriority = new String[]{\"Low\", \"Normal\", \"High\", \"Immediate\"};\r\n+        mStringStatus = new String[]{\"New\", \"Inprogress\", \"Resolved\", \"Closed\"};\r","path":"app/src/main/java/adapter/TaskListAdapter.java","position":30,"original_position":30,"commit_id":"ad84b9a1ecbc7b431aaedd72fba0b52538539561","original_commit_id":"ad84b9a1ecbc7b431aaedd72fba0b52538539561","user":{"login":"quangtung02","id":12928995,"avatar_url":"https://avatars.githubusercontent.com/u/12928995?v=3","gravatar_id":"","url":"https://api.github.com/users/quangtung02","html_url":"https://github.com/quangtung02","followers_url":"https://api.github.com/users/quangtung02/followers","following_url":"https://api.github.com/users/quangtung02/following{/other_user}","gists_url":"https://api.github.com/users/quangtung02/gists{/gist_id}","starred_url":"https://api.github.com/users/quangtung02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quangtung02/subscriptions","organizations_url":"https://api.github.com/users/quangtung02/orgs","repos_url":"https://api.github.com/users/quangtung02/repos","events_url":"https://api.github.com/users/quangtung02/events{/privacy}","received_events_url":"https://api.github.com/users/quangtung02/received_events","type":"User","site_admin":false},"body":"e cho vào string nhé!","created_at":"2016-07-27T09:27:03Z","updated_at":"2016-07-27T09:27:03Z","html_url":"https://github.com/hoaiduc2000/Worktask/pull/5#discussion_r72408078","pull_request_url":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/comments/72408078"},"html":{"href":"https://github.com/hoaiduc2000/Worktask/pull/5#discussion_r72408078"},"pull_request":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/5","id":78991329,"html_url":"https://github.com/hoaiduc2000/Worktask/pull/5","diff_url":"https://github.com/hoaiduc2000/Worktask/pull/5.diff","patch_url":"https://github.com/hoaiduc2000/Worktask/pull/5.patch","issue_url":"https://api.github.com/repos/hoaiduc2000/Worktask/issues/5","number":5,"state":"open","locked":false,"title":"Load data from database and show in the list screen","user":{"login":"hoaiduc2000","id":19972257,"avatar_url":"https://avatars.githubusercontent.com/u/19972257?v=3","gravatar_id":"","url":"https://api.github.com/users/hoaiduc2000","html_url":"https://github.com/hoaiduc2000","followers_url":"https://api.github.com/users/hoaiduc2000/followers","following_url":"https://api.github.com/users/hoaiduc2000/following{/other_user}","gists_url":"https://api.github.com/users/hoaiduc2000/gists{/gist_id}","starred_url":"https://api.github.com/users/hoaiduc2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoaiduc2000/subscriptions","organizations_url":"https://api.github.com/users/hoaiduc2000/orgs","repos_url":"https://api.github.com/users/hoaiduc2000/repos","events_url":"https://api.github.com/users/hoaiduc2000/events{/privacy}","received_events_url":"https://api.github.com/users/hoaiduc2000/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-27T09:22:54Z","updated_at":"2016-07-27T09:27:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0750429b58f30109a27f2aeb6e99be2526718b3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/5/commits","review_comments_url":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/5/comments","review_comment_url":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hoaiduc2000/Worktask/issues/5/comments","statuses_url":"https://api.github.com/repos/hoaiduc2000/Worktask/statuses/ad84b9a1ecbc7b431aaedd72fba0b52538539561","head":{"label":"hoaiduc2000:WT-7","ref":"WT-7","sha":"ad84b9a1ecbc7b431aaedd72fba0b52538539561","user":{"login":"hoaiduc2000","id":19972257,"avatar_url":"https://avatars.githubusercontent.com/u/19972257?v=3","gravatar_id":"","url":"https://api.github.com/users/hoaiduc2000","html_url":"https://github.com/hoaiduc2000","followers_url":"https://api.github.com/users/hoaiduc2000/followers","following_url":"https://api.github.com/users/hoaiduc2000/following{/other_user}","gists_url":"https://api.github.com/users/hoaiduc2000/gists{/gist_id}","starred_url":"https://api.github.com/users/hoaiduc2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoaiduc2000/subscriptions","organizations_url":"https://api.github.com/users/hoaiduc2000/orgs","repos_url":"https://api.github.com/users/hoaiduc2000/repos","events_url":"https://api.github.com/users/hoaiduc2000/events{/privacy}","received_events_url":"https://api.github.com/users/hoaiduc2000/received_events","type":"User","site_admin":false},"repo":{"id":64188477,"name":"Worktask","full_name":"hoaiduc2000/Worktask","owner":{"login":"hoaiduc2000","id":19972257,"avatar_url":"https://avatars.githubusercontent.com/u/19972257?v=3","gravatar_id":"","url":"https://api.github.com/users/hoaiduc2000","html_url":"https://github.com/hoaiduc2000","followers_url":"https://api.github.com/users/hoaiduc2000/followers","following_url":"https://api.github.com/users/hoaiduc2000/following{/other_user}","gists_url":"https://api.github.com/users/hoaiduc2000/gists{/gist_id}","starred_url":"https://api.github.com/users/hoaiduc2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoaiduc2000/subscriptions","organizations_url":"https://api.github.com/users/hoaiduc2000/orgs","repos_url":"https://api.github.com/users/hoaiduc2000/repos","events_url":"https://api.github.com/users/hoaiduc2000/events{/privacy}","received_events_url":"https://api.github.com/users/hoaiduc2000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hoaiduc2000/Worktask","description":null,"fork":false,"url":"https://api.github.com/repos/hoaiduc2000/Worktask","forks_url":"https://api.github.com/repos/hoaiduc2000/Worktask/forks","keys_url":"https://api.github.com/repos/hoaiduc2000/Worktask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoaiduc2000/Worktask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoaiduc2000/Worktask/teams","hooks_url":"https://api.github.com/repos/hoaiduc2000/Worktask/hooks","issue_events_url":"https://api.github.com/repos/hoaiduc2000/Worktask/issues/events{/number}","events_url":"https://api.github.com/repos/hoaiduc2000/Worktask/events","assignees_url":"https://api.github.com/repos/hoaiduc2000/Worktask/assignees{/user}","branches_url":"https://api.github.com/repos/hoaiduc2000/Worktask/branches{/branch}","tags_url":"https://api.github.com/repos/hoaiduc2000/Worktask/tags","blobs_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoaiduc2000/Worktask/statuses/{sha}","languages_url":"https://api.github.com/repos/hoaiduc2000/Worktask/languages","stargazers_url":"https://api.github.com/repos/hoaiduc2000/Worktask/stargazers","contributors_url":"https://api.github.com/repos/hoaiduc2000/Worktask/contributors","subscribers_url":"https://api.github.com/repos/hoaiduc2000/Worktask/subscribers","subscription_url":"https://api.github.com/repos/hoaiduc2000/Worktask/subscription","commits_url":"https://api.github.com/repos/hoaiduc2000/Worktask/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoaiduc2000/Worktask/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoaiduc2000/Worktask/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoaiduc2000/Worktask/contents/{+path}","compare_url":"https://api.github.com/repos/hoaiduc2000/Worktask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoaiduc2000/Worktask/merges","archive_url":"https://api.github.com/repos/hoaiduc2000/Worktask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoaiduc2000/Worktask/downloads","issues_url":"https://api.github.com/repos/hoaiduc2000/Worktask/issues{/number}","pulls_url":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls{/number}","milestones_url":"https://api.github.com/repos/hoaiduc2000/Worktask/milestones{/number}","notifications_url":"https://api.github.com/repos/hoaiduc2000/Worktask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoaiduc2000/Worktask/labels{/name}","releases_url":"https://api.github.com/repos/hoaiduc2000/Worktask/releases{/id}","deployments_url":"https://api.github.com/repos/hoaiduc2000/Worktask/deployments","created_at":"2016-07-26T03:57:44Z","updated_at":"2016-07-26T03:57:55Z","pushed_at":"2016-07-27T09:22:54Z","git_url":"git://github.com/hoaiduc2000/Worktask.git","ssh_url":"git@github.com:hoaiduc2000/Worktask.git","clone_url":"https://github.com/hoaiduc2000/Worktask.git","svn_url":"https://github.com/hoaiduc2000/Worktask","homepage":null,"size":119,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"hoaiduc2000:develop","ref":"develop","sha":"b84cfe187962d38b6b41c70612c33ed54e7d0693","user":{"login":"hoaiduc2000","id":19972257,"avatar_url":"https://avatars.githubusercontent.com/u/19972257?v=3","gravatar_id":"","url":"https://api.github.com/users/hoaiduc2000","html_url":"https://github.com/hoaiduc2000","followers_url":"https://api.github.com/users/hoaiduc2000/followers","following_url":"https://api.github.com/users/hoaiduc2000/following{/other_user}","gists_url":"https://api.github.com/users/hoaiduc2000/gists{/gist_id}","starred_url":"https://api.github.com/users/hoaiduc2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoaiduc2000/subscriptions","organizations_url":"https://api.github.com/users/hoaiduc2000/orgs","repos_url":"https://api.github.com/users/hoaiduc2000/repos","events_url":"https://api.github.com/users/hoaiduc2000/events{/privacy}","received_events_url":"https://api.github.com/users/hoaiduc2000/received_events","type":"User","site_admin":false},"repo":{"id":64188477,"name":"Worktask","full_name":"hoaiduc2000/Worktask","owner":{"login":"hoaiduc2000","id":19972257,"avatar_url":"https://avatars.githubusercontent.com/u/19972257?v=3","gravatar_id":"","url":"https://api.github.com/users/hoaiduc2000","html_url":"https://github.com/hoaiduc2000","followers_url":"https://api.github.com/users/hoaiduc2000/followers","following_url":"https://api.github.com/users/hoaiduc2000/following{/other_user}","gists_url":"https://api.github.com/users/hoaiduc2000/gists{/gist_id}","starred_url":"https://api.github.com/users/hoaiduc2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoaiduc2000/subscriptions","organizations_url":"https://api.github.com/users/hoaiduc2000/orgs","repos_url":"https://api.github.com/users/hoaiduc2000/repos","events_url":"https://api.github.com/users/hoaiduc2000/events{/privacy}","received_events_url":"https://api.github.com/users/hoaiduc2000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hoaiduc2000/Worktask","description":null,"fork":false,"url":"https://api.github.com/repos/hoaiduc2000/Worktask","forks_url":"https://api.github.com/repos/hoaiduc2000/Worktask/forks","keys_url":"https://api.github.com/repos/hoaiduc2000/Worktask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoaiduc2000/Worktask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoaiduc2000/Worktask/teams","hooks_url":"https://api.github.com/repos/hoaiduc2000/Worktask/hooks","issue_events_url":"https://api.github.com/repos/hoaiduc2000/Worktask/issues/events{/number}","events_url":"https://api.github.com/repos/hoaiduc2000/Worktask/events","assignees_url":"https://api.github.com/repos/hoaiduc2000/Worktask/assignees{/user}","branches_url":"https://api.github.com/repos/hoaiduc2000/Worktask/branches{/branch}","tags_url":"https://api.github.com/repos/hoaiduc2000/Worktask/tags","blobs_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoaiduc2000/Worktask/statuses/{sha}","languages_url":"https://api.github.com/repos/hoaiduc2000/Worktask/languages","stargazers_url":"https://api.github.com/repos/hoaiduc2000/Worktask/stargazers","contributors_url":"https://api.github.com/repos/hoaiduc2000/Worktask/contributors","subscribers_url":"https://api.github.com/repos/hoaiduc2000/Worktask/subscribers","subscription_url":"https://api.github.com/repos/hoaiduc2000/Worktask/subscription","commits_url":"https://api.github.com/repos/hoaiduc2000/Worktask/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoaiduc2000/Worktask/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoaiduc2000/Worktask/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoaiduc2000/Worktask/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoaiduc2000/Worktask/contents/{+path}","compare_url":"https://api.github.com/repos/hoaiduc2000/Worktask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoaiduc2000/Worktask/merges","archive_url":"https://api.github.com/repos/hoaiduc2000/Worktask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoaiduc2000/Worktask/downloads","issues_url":"https://api.github.com/repos/hoaiduc2000/Worktask/issues{/number}","pulls_url":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls{/number}","milestones_url":"https://api.github.com/repos/hoaiduc2000/Worktask/milestones{/number}","notifications_url":"https://api.github.com/repos/hoaiduc2000/Worktask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoaiduc2000/Worktask/labels{/name}","releases_url":"https://api.github.com/repos/hoaiduc2000/Worktask/releases{/id}","deployments_url":"https://api.github.com/repos/hoaiduc2000/Worktask/deployments","created_at":"2016-07-26T03:57:44Z","updated_at":"2016-07-26T03:57:55Z","pushed_at":"2016-07-27T09:22:54Z","git_url":"git://github.com/hoaiduc2000/Worktask.git","ssh_url":"git@github.com:hoaiduc2000/Worktask.git","clone_url":"https://github.com/hoaiduc2000/Worktask.git","svn_url":"https://github.com/hoaiduc2000/Worktask","homepage":null,"size":119,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/5"},"html":{"href":"https://github.com/hoaiduc2000/Worktask/pull/5"},"issue":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/issues/5"},"comments":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/hoaiduc2000/Worktask/statuses/ad84b9a1ecbc7b431aaedd72fba0b52538539561"}}}}
{"actor":{"display_login":"quangtung02"}}