{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/hrm_3/pulls/comments/48324657","id":48324657,"diff_hunk":"@@ -29,7 +29,7 @@ public DepartmentAdapter(Activity activity, int idLayout, ArrayList<Department>\n     public View getView(int position, View convertView, ViewGroup parent) {\r\n         ViewHolder viewHolder;\r\n         if (convertView == null) {\r\n-            convertView = mActivity.getLayoutInflater().inflate(mIdLayout, parent);\r\n+            convertView = mActivity.getLayoutInflater().inflate(mIdLayout, parent, false);\r","path":"app/src/main/java/com/nhs3108/fhrm/adapters/DepartmentAdapter.java","position":5,"original_position":5,"commit_id":"b8d54dba615ebe022f32fec902c62b0dff9feb07","original_commit_id":"b8d54dba615ebe022f32fec902c62b0dff9feb07","user":{"login":"ducdx","id":5334980,"avatar_url":"https://avatars.githubusercontent.com/u/5334980?v=3","gravatar_id":"","url":"https://api.github.com/users/ducdx","html_url":"https://github.com/ducdx","followers_url":"https://api.github.com/users/ducdx/followers","following_url":"https://api.github.com/users/ducdx/following{/other_user}","gists_url":"https://api.github.com/users/ducdx/gists{/gist_id}","starred_url":"https://api.github.com/users/ducdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducdx/subscriptions","organizations_url":"https://api.github.com/users/ducdx/orgs","repos_url":"https://api.github.com/users/ducdx/repos","events_url":"https://api.github.com/users/ducdx/events{/privacy}","received_events_url":"https://api.github.com/users/ducdx/received_events","type":"User","site_admin":false},"body":"Cái này không nên làm như thế này\r\nHãy tạo 1 biến LayoutInflater, trong onCreate thì khởi tạo nó luôn, sử dụng LayoutInflater.from(context) cho nhanh","created_at":"2015-12-23T06:45:06Z","updated_at":"2015-12-23T06:45:06Z","html_url":"https://github.com/framgia/hrm_3/pull/4#discussion_r48324657","pull_request_url":"https://api.github.com/repos/framgia/hrm_3/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/framgia/hrm_3/pulls/comments/48324657"},"html":{"href":"https://github.com/framgia/hrm_3/pull/4#discussion_r48324657"},"pull_request":{"href":"https://api.github.com/repos/framgia/hrm_3/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/hrm_3/pulls/4","id":54340142,"html_url":"https://github.com/framgia/hrm_3/pull/4","diff_url":"https://github.com/framgia/hrm_3/pull/4.diff","patch_url":"https://github.com/framgia/hrm_3/pull/4.patch","issue_url":"https://api.github.com/repos/framgia/hrm_3/issues/4","number":4,"state":"open","locked":false,"title":"Staff model, Update DB helper","user":{"login":"nhs3108","id":10093701,"avatar_url":"https://avatars.githubusercontent.com/u/10093701?v=3","gravatar_id":"","url":"https://api.github.com/users/nhs3108","html_url":"https://github.com/nhs3108","followers_url":"https://api.github.com/users/nhs3108/followers","following_url":"https://api.github.com/users/nhs3108/following{/other_user}","gists_url":"https://api.github.com/users/nhs3108/gists{/gist_id}","starred_url":"https://api.github.com/users/nhs3108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhs3108/subscriptions","organizations_url":"https://api.github.com/users/nhs3108/orgs","repos_url":"https://api.github.com/users/nhs3108/repos","events_url":"https://api.github.com/users/nhs3108/events{/privacy}","received_events_url":"https://api.github.com/users/nhs3108/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-22T07:21:23Z","updated_at":"2015-12-23T06:45:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3484adb6bed630d7b45dc9dec9fc34dcb821af87","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/hrm_3/pulls/4/commits","review_comments_url":"https://api.github.com/repos/framgia/hrm_3/pulls/4/comments","review_comment_url":"https://api.github.com/repos/framgia/hrm_3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/hrm_3/issues/4/comments","statuses_url":"https://api.github.com/repos/framgia/hrm_3/statuses/b8d54dba615ebe022f32fec902c62b0dff9feb07","head":{"label":"nhs3108:update_database_helper","ref":"update_database_helper","sha":"b8d54dba615ebe022f32fec902c62b0dff9feb07","user":{"login":"nhs3108","id":10093701,"avatar_url":"https://avatars.githubusercontent.com/u/10093701?v=3","gravatar_id":"","url":"https://api.github.com/users/nhs3108","html_url":"https://github.com/nhs3108","followers_url":"https://api.github.com/users/nhs3108/followers","following_url":"https://api.github.com/users/nhs3108/following{/other_user}","gists_url":"https://api.github.com/users/nhs3108/gists{/gist_id}","starred_url":"https://api.github.com/users/nhs3108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhs3108/subscriptions","organizations_url":"https://api.github.com/users/nhs3108/orgs","repos_url":"https://api.github.com/users/nhs3108/repos","events_url":"https://api.github.com/users/nhs3108/events{/privacy}","received_events_url":"https://api.github.com/users/nhs3108/received_events","type":"User","site_admin":false},"repo":{"id":48219307,"name":"hrm_3","full_name":"nhs3108/hrm_3","owner":{"login":"nhs3108","id":10093701,"avatar_url":"https://avatars.githubusercontent.com/u/10093701?v=3","gravatar_id":"","url":"https://api.github.com/users/nhs3108","html_url":"https://github.com/nhs3108","followers_url":"https://api.github.com/users/nhs3108/followers","following_url":"https://api.github.com/users/nhs3108/following{/other_user}","gists_url":"https://api.github.com/users/nhs3108/gists{/gist_id}","starred_url":"https://api.github.com/users/nhs3108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhs3108/subscriptions","organizations_url":"https://api.github.com/users/nhs3108/orgs","repos_url":"https://api.github.com/users/nhs3108/repos","events_url":"https://api.github.com/users/nhs3108/events{/privacy}","received_events_url":"https://api.github.com/users/nhs3108/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nhs3108/hrm_3","description":"Framgia Human Rsource Management (training)","fork":true,"url":"https://api.github.com/repos/nhs3108/hrm_3","forks_url":"https://api.github.com/repos/nhs3108/hrm_3/forks","keys_url":"https://api.github.com/repos/nhs3108/hrm_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhs3108/hrm_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhs3108/hrm_3/teams","hooks_url":"https://api.github.com/repos/nhs3108/hrm_3/hooks","issue_events_url":"https://api.github.com/repos/nhs3108/hrm_3/issues/events{/number}","events_url":"https://api.github.com/repos/nhs3108/hrm_3/events","assignees_url":"https://api.github.com/repos/nhs3108/hrm_3/assignees{/user}","branches_url":"https://api.github.com/repos/nhs3108/hrm_3/branches{/branch}","tags_url":"https://api.github.com/repos/nhs3108/hrm_3/tags","blobs_url":"https://api.github.com/repos/nhs3108/hrm_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhs3108/hrm_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhs3108/hrm_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhs3108/hrm_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhs3108/hrm_3/statuses/{sha}","languages_url":"https://api.github.com/repos/nhs3108/hrm_3/languages","stargazers_url":"https://api.github.com/repos/nhs3108/hrm_3/stargazers","contributors_url":"https://api.github.com/repos/nhs3108/hrm_3/contributors","subscribers_url":"https://api.github.com/repos/nhs3108/hrm_3/subscribers","subscription_url":"https://api.github.com/repos/nhs3108/hrm_3/subscription","commits_url":"https://api.github.com/repos/nhs3108/hrm_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhs3108/hrm_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhs3108/hrm_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhs3108/hrm_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhs3108/hrm_3/contents/{+path}","compare_url":"https://api.github.com/repos/nhs3108/hrm_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhs3108/hrm_3/merges","archive_url":"https://api.github.com/repos/nhs3108/hrm_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhs3108/hrm_3/downloads","issues_url":"https://api.github.com/repos/nhs3108/hrm_3/issues{/number}","pulls_url":"https://api.github.com/repos/nhs3108/hrm_3/pulls{/number}","milestones_url":"https://api.github.com/repos/nhs3108/hrm_3/milestones{/number}","notifications_url":"https://api.github.com/repos/nhs3108/hrm_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhs3108/hrm_3/labels{/name}","releases_url":"https://api.github.com/repos/nhs3108/hrm_3/releases{/id}","created_at":"2015-12-18T06:46:54Z","updated_at":"2015-12-18T03:18:14Z","pushed_at":"2015-12-23T06:22:36Z","git_url":"git://github.com/nhs3108/hrm_3.git","ssh_url":"git@github.com:nhs3108/hrm_3.git","clone_url":"https://github.com/nhs3108/hrm_3.git","svn_url":"https://github.com/nhs3108/hrm_3","homepage":null,"size":115,"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:master","ref":"master","sha":"4751300f956a73617393788864d435d34f6d5c64","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":48211939,"name":"hrm_3","full_name":"framgia/hrm_3","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/hrm_3","description":"Framgia Human Rsource Management (training)","fork":false,"url":"https://api.github.com/repos/framgia/hrm_3","forks_url":"https://api.github.com/repos/framgia/hrm_3/forks","keys_url":"https://api.github.com/repos/framgia/hrm_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/hrm_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/hrm_3/teams","hooks_url":"https://api.github.com/repos/framgia/hrm_3/hooks","issue_events_url":"https://api.github.com/repos/framgia/hrm_3/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/hrm_3/events","assignees_url":"https://api.github.com/repos/framgia/hrm_3/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/hrm_3/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/hrm_3/tags","blobs_url":"https://api.github.com/repos/framgia/hrm_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/hrm_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/hrm_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/hrm_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/hrm_3/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/hrm_3/languages","stargazers_url":"https://api.github.com/repos/framgia/hrm_3/stargazers","contributors_url":"https://api.github.com/repos/framgia/hrm_3/contributors","subscribers_url":"https://api.github.com/repos/framgia/hrm_3/subscribers","subscription_url":"https://api.github.com/repos/framgia/hrm_3/subscription","commits_url":"https://api.github.com/repos/framgia/hrm_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/hrm_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/hrm_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/hrm_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/hrm_3/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/hrm_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/hrm_3/merges","archive_url":"https://api.github.com/repos/framgia/hrm_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/hrm_3/downloads","issues_url":"https://api.github.com/repos/framgia/hrm_3/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/hrm_3/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/hrm_3/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/hrm_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/hrm_3/labels{/name}","releases_url":"https://api.github.com/repos/framgia/hrm_3/releases{/id}","created_at":"2015-12-18T03:18:14Z","updated_at":"2015-12-18T07:34:02Z","pushed_at":"2015-12-23T06:22:37Z","git_url":"git://github.com/framgia/hrm_3.git","ssh_url":"git@github.com:framgia/hrm_3.git","clone_url":"https://github.com/framgia/hrm_3.git","svn_url":"https://github.com/framgia/hrm_3","homepage":null,"size":110,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/hrm_3/pulls/4"},"html":{"href":"https://github.com/framgia/hrm_3/pull/4"},"issue":{"href":"https://api.github.com/repos/framgia/hrm_3/issues/4"},"comments":{"href":"https://api.github.com/repos/framgia/hrm_3/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/hrm_3/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/hrm_3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/hrm_3/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/hrm_3/statuses/b8d54dba615ebe022f32fec902c62b0dff9feb07"}}}}