{"action":"created","comment":{"url":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/comments/125330288","pull_request_review_id":47710109,"id":125330288,"diff_hunk":"@@ -0,0 +1,58 @@\n+package vn.asiantech.internship.adapter;\n+\n+import android.support.v7.widget.RecyclerView;\n+import android.view.LayoutInflater;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.widget.TextView;\n+\n+import java.util.List;\n+\n+import vn.asiantech.internship.R;\n+import vn.asiantech.internship.models.Contact;\n+\n+/**\n+ * Created by ducle on 03/07/2017.\n+ * ContactAdapter for RecyclerView Contact\n+ */\n+public class ContactAdapter extends RecyclerView.Adapter<ContactAdapter.ContactViewHolder> {\n+    private List<Contact> mContacts;\n+\n+    public ContactAdapter(List<Contact> contacts) {\n+        mContacts = contacts;\n+    }\n+\n+    @Override\n+    public ContactViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n+        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_list_contact, parent, false);\n+        return new ContactViewHolder(view);\n+    }\n+\n+    @Override\n+    public void onBindViewHolder(ContactViewHolder holder, int position) {\n+        Contact contact = mContacts.get(position);\n+        holder.mTvName.setText(contact.getName());\n+        String email = holder.mTvEmail.getContext().getString(R.string.email, contact.getEmail());\n+        holder.mTvEmail.setText(email);\n+        String number = holder.mTvNumber.getContext().getString(R.string.number, contact.getNumber());\n+        holder.mTvNumber.setText(number);\n+    }\n+\n+    @Override\n+    public int getItemCount() {\n+        return mContacts != null ? mContacts.size() : 0;\n+    }\n+\n+    class ContactViewHolder extends RecyclerView.ViewHolder {","path":"app/src/main/java/vn/asiantech/internship/adapter/ContactAdapter.java","position":46,"original_position":46,"commit_id":"cc783e7d0809538eed8b86c503d7e35b3f3d72cf","original_commit_id":"cc783e7d0809538eed8b86c503d7e35b3f3d72cf","user":{"login":"at-dev-support-01","id":15151284,"avatar_url":"https://avatars1.githubusercontent.com/u/15151284?v=3","gravatar_id":"","url":"https://api.github.com/users/at-dev-support-01","html_url":"https://github.com/at-dev-support-01","followers_url":"https://api.github.com/users/at-dev-support-01/followers","following_url":"https://api.github.com/users/at-dev-support-01/following{/other_user}","gists_url":"https://api.github.com/users/at-dev-support-01/gists{/gist_id}","starred_url":"https://api.github.com/users/at-dev-support-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-dev-support-01/subscriptions","organizations_url":"https://api.github.com/users/at-dev-support-01/orgs","repos_url":"https://api.github.com/users/at-dev-support-01/repos","events_url":"https://api.github.com/users/at-dev-support-01/events{/privacy}","received_events_url":"https://api.github.com/users/at-dev-support-01/received_events","type":"User","site_admin":false},"body":"ERROR: Missing a Javadoc comment.","created_at":"2017-07-03T17:04:34Z","updated_at":"2017-07-03T17:04:34Z","html_url":"https://github.com/at-tienhoang/intern-17k2/pull/113#discussion_r125330288","pull_request_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/comments/125330288"},"html":{"href":"https://github.com/at-tienhoang/intern-17k2/pull/113#discussion_r125330288"},"pull_request":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/113","id":128604279,"html_url":"https://github.com/at-tienhoang/intern-17k2/pull/113","diff_url":"https://github.com/at-tienhoang/intern-17k2/pull/113.diff","patch_url":"https://github.com/at-tienhoang/intern-17k2/pull/113.patch","issue_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues/113","number":113,"state":"open","locked":false,"title":"Day21 Ex1 ParseJson","user":{"login":"at-ducle","id":21017266,"avatar_url":"https://avatars2.githubusercontent.com/u/21017266?v=3","gravatar_id":"","url":"https://api.github.com/users/at-ducle","html_url":"https://github.com/at-ducle","followers_url":"https://api.github.com/users/at-ducle/followers","following_url":"https://api.github.com/users/at-ducle/following{/other_user}","gists_url":"https://api.github.com/users/at-ducle/gists{/gist_id}","starred_url":"https://api.github.com/users/at-ducle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-ducle/subscriptions","organizations_url":"https://api.github.com/users/at-ducle/orgs","repos_url":"https://api.github.com/users/at-ducle/repos","events_url":"https://api.github.com/users/at-ducle/events{/privacy}","received_events_url":"https://api.github.com/users/at-ducle/received_events","type":"User","site_admin":false},"body":"#### Related issues (Optional)\r\nTask #105 \r\n\r\n#### Description (Required)\r\n- [ ] Get Json\r\n- [ ] Use AsyncTask\r\n- [ ] Custom RecyclerView\r\n\r\n#### Reference (Optional)\r\n","created_at":"2017-07-03T11:02:55Z","updated_at":"2017-07-03T17:04:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"323ede323e239184a9f75ee026d47a8ec312d632","assignee":{"login":"at-ducle","id":21017266,"avatar_url":"https://avatars2.githubusercontent.com/u/21017266?v=3","gravatar_id":"","url":"https://api.github.com/users/at-ducle","html_url":"https://github.com/at-ducle","followers_url":"https://api.github.com/users/at-ducle/followers","following_url":"https://api.github.com/users/at-ducle/following{/other_user}","gists_url":"https://api.github.com/users/at-ducle/gists{/gist_id}","starred_url":"https://api.github.com/users/at-ducle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-ducle/subscriptions","organizations_url":"https://api.github.com/users/at-ducle/orgs","repos_url":"https://api.github.com/users/at-ducle/repos","events_url":"https://api.github.com/users/at-ducle/events{/privacy}","received_events_url":"https://api.github.com/users/at-ducle/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-ducle","id":21017266,"avatar_url":"https://avatars2.githubusercontent.com/u/21017266?v=3","gravatar_id":"","url":"https://api.github.com/users/at-ducle","html_url":"https://github.com/at-ducle","followers_url":"https://api.github.com/users/at-ducle/followers","following_url":"https://api.github.com/users/at-ducle/following{/other_user}","gists_url":"https://api.github.com/users/at-ducle/gists{/gist_id}","starred_url":"https://api.github.com/users/at-ducle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-ducle/subscriptions","organizations_url":"https://api.github.com/users/at-ducle/orgs","repos_url":"https://api.github.com/users/at-ducle/repos","events_url":"https://api.github.com/users/at-ducle/events{/privacy}","received_events_url":"https://api.github.com/users/at-ducle/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/at-tienhoang/intern-17k2/milestones/5","html_url":"https://github.com/at-tienhoang/intern-17k2/milestone/5","labels_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/milestones/5/labels","id":2618170,"number":5,"title":"Week 5","description":"","creator":{"login":"at-tienhoang","id":16132900,"avatar_url":"https://avatars2.githubusercontent.com/u/16132900?v=3","gravatar_id":"","url":"https://api.github.com/users/at-tienhoang","html_url":"https://github.com/at-tienhoang","followers_url":"https://api.github.com/users/at-tienhoang/followers","following_url":"https://api.github.com/users/at-tienhoang/following{/other_user}","gists_url":"https://api.github.com/users/at-tienhoang/gists{/gist_id}","starred_url":"https://api.github.com/users/at-tienhoang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-tienhoang/subscriptions","organizations_url":"https://api.github.com/users/at-tienhoang/orgs","repos_url":"https://api.github.com/users/at-tienhoang/repos","events_url":"https://api.github.com/users/at-tienhoang/events{/privacy}","received_events_url":"https://api.github.com/users/at-tienhoang/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2017-07-03T10:04:55Z","updated_at":"2017-07-03T16:58:43Z","due_on":"2017-07-09T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/113/commits","review_comments_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/113/comments","review_comment_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues/113/comments","statuses_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/statuses/cc783e7d0809538eed8b86c503d7e35b3f3d72cf","head":{"label":"at-tienhoang:at-ducle-day21-parsejson","ref":"at-ducle-day21-parsejson","sha":"cc783e7d0809538eed8b86c503d7e35b3f3d72cf","user":{"login":"at-tienhoang","id":16132900,"avatar_url":"https://avatars2.githubusercontent.com/u/16132900?v=3","gravatar_id":"","url":"https://api.github.com/users/at-tienhoang","html_url":"https://github.com/at-tienhoang","followers_url":"https://api.github.com/users/at-tienhoang/followers","following_url":"https://api.github.com/users/at-tienhoang/following{/other_user}","gists_url":"https://api.github.com/users/at-tienhoang/gists{/gist_id}","starred_url":"https://api.github.com/users/at-tienhoang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-tienhoang/subscriptions","organizations_url":"https://api.github.com/users/at-tienhoang/orgs","repos_url":"https://api.github.com/users/at-tienhoang/repos","events_url":"https://api.github.com/users/at-tienhoang/events{/privacy}","received_events_url":"https://api.github.com/users/at-tienhoang/received_events","type":"User","site_admin":false},"repo":{"id":93818880,"name":"intern-17k2","full_name":"at-tienhoang/intern-17k2","owner":{"login":"at-tienhoang","id":16132900,"avatar_url":"https://avatars2.githubusercontent.com/u/16132900?v=3","gravatar_id":"","url":"https://api.github.com/users/at-tienhoang","html_url":"https://github.com/at-tienhoang","followers_url":"https://api.github.com/users/at-tienhoang/followers","following_url":"https://api.github.com/users/at-tienhoang/following{/other_user}","gists_url":"https://api.github.com/users/at-tienhoang/gists{/gist_id}","starred_url":"https://api.github.com/users/at-tienhoang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-tienhoang/subscriptions","organizations_url":"https://api.github.com/users/at-tienhoang/orgs","repos_url":"https://api.github.com/users/at-tienhoang/repos","events_url":"https://api.github.com/users/at-tienhoang/events{/privacy}","received_events_url":"https://api.github.com/users/at-tienhoang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/at-tienhoang/intern-17k2","description":null,"fork":false,"url":"https://api.github.com/repos/at-tienhoang/intern-17k2","forks_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/forks","keys_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/teams","hooks_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/hooks","issue_events_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues/events{/number}","events_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/events","assignees_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/assignees{/user}","branches_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/branches{/branch}","tags_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/tags","blobs_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/refs{/sha}","trees_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/statuses/{sha}","languages_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/languages","stargazers_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/stargazers","contributors_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/contributors","subscribers_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/subscribers","subscription_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/subscription","commits_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/commits{/sha}","git_commits_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/commits{/sha}","comments_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/comments{/number}","issue_comment_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues/comments{/number}","contents_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/contents/{+path}","compare_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/merges","archive_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/downloads","issues_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues{/number}","pulls_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls{/number}","milestones_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/milestones{/number}","notifications_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/labels{/name}","releases_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/releases{/id}","deployments_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/deployments","created_at":"2017-06-09T04:29:22Z","updated_at":"2017-06-15T07:28:20Z","pushed_at":"2017-07-03T16:58:12Z","git_url":"git://github.com/at-tienhoang/intern-17k2.git","ssh_url":"git@github.com:at-tienhoang/intern-17k2.git","clone_url":"https://github.com/at-tienhoang/intern-17k2.git","svn_url":"https://github.com/at-tienhoang/intern-17k2","homepage":null,"size":30300,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":38,"forks":0,"open_issues":38,"watchers":0,"default_branch":"master"}},"base":{"label":"at-tienhoang:at-ducle","ref":"at-ducle","sha":"ed30fbf5f3276dbeb0ce72fd05737aa4fedae12b","user":{"login":"at-tienhoang","id":16132900,"avatar_url":"https://avatars2.githubusercontent.com/u/16132900?v=3","gravatar_id":"","url":"https://api.github.com/users/at-tienhoang","html_url":"https://github.com/at-tienhoang","followers_url":"https://api.github.com/users/at-tienhoang/followers","following_url":"https://api.github.com/users/at-tienhoang/following{/other_user}","gists_url":"https://api.github.com/users/at-tienhoang/gists{/gist_id}","starred_url":"https://api.github.com/users/at-tienhoang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-tienhoang/subscriptions","organizations_url":"https://api.github.com/users/at-tienhoang/orgs","repos_url":"https://api.github.com/users/at-tienhoang/repos","events_url":"https://api.github.com/users/at-tienhoang/events{/privacy}","received_events_url":"https://api.github.com/users/at-tienhoang/received_events","type":"User","site_admin":false},"repo":{"id":93818880,"name":"intern-17k2","full_name":"at-tienhoang/intern-17k2","owner":{"login":"at-tienhoang","id":16132900,"avatar_url":"https://avatars2.githubusercontent.com/u/16132900?v=3","gravatar_id":"","url":"https://api.github.com/users/at-tienhoang","html_url":"https://github.com/at-tienhoang","followers_url":"https://api.github.com/users/at-tienhoang/followers","following_url":"https://api.github.com/users/at-tienhoang/following{/other_user}","gists_url":"https://api.github.com/users/at-tienhoang/gists{/gist_id}","starred_url":"https://api.github.com/users/at-tienhoang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-tienhoang/subscriptions","organizations_url":"https://api.github.com/users/at-tienhoang/orgs","repos_url":"https://api.github.com/users/at-tienhoang/repos","events_url":"https://api.github.com/users/at-tienhoang/events{/privacy}","received_events_url":"https://api.github.com/users/at-tienhoang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/at-tienhoang/intern-17k2","description":null,"fork":false,"url":"https://api.github.com/repos/at-tienhoang/intern-17k2","forks_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/forks","keys_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/teams","hooks_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/hooks","issue_events_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues/events{/number}","events_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/events","assignees_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/assignees{/user}","branches_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/branches{/branch}","tags_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/tags","blobs_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/refs{/sha}","trees_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/statuses/{sha}","languages_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/languages","stargazers_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/stargazers","contributors_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/contributors","subscribers_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/subscribers","subscription_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/subscription","commits_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/commits{/sha}","git_commits_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/git/commits{/sha}","comments_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/comments{/number}","issue_comment_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues/comments{/number}","contents_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/contents/{+path}","compare_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/merges","archive_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/downloads","issues_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues{/number}","pulls_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls{/number}","milestones_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/milestones{/number}","notifications_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/labels{/name}","releases_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/releases{/id}","deployments_url":"https://api.github.com/repos/at-tienhoang/intern-17k2/deployments","created_at":"2017-06-09T04:29:22Z","updated_at":"2017-06-15T07:28:20Z","pushed_at":"2017-07-03T16:58:12Z","git_url":"git://github.com/at-tienhoang/intern-17k2.git","ssh_url":"git@github.com:at-tienhoang/intern-17k2.git","clone_url":"https://github.com/at-tienhoang/intern-17k2.git","svn_url":"https://github.com/at-tienhoang/intern-17k2","homepage":null,"size":30300,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":38,"forks":0,"open_issues":38,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/113"},"html":{"href":"https://github.com/at-tienhoang/intern-17k2/pull/113"},"issue":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues/113"},"comments":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/at-tienhoang/intern-17k2/statuses/cc783e7d0809538eed8b86c503d7e35b3f3d72cf"}}}}
{"actor":{"display_login":"at-dev-support-01"}}