{"action":"created","comment":{"url":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/comments/241374682","pull_request_review_id":184627665,"id":241374682,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTM3NDY4Mg==","diff_hunk":"@@ -0,0 +1,46 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+using System.Windows.Input;\n+using Android.App;\n+using Android.Content;\n+using Android.OS;\n+using Android.Runtime;\n+using Android.Support.V7.Widget;\n+using Android.Views;\n+using Android.Widget;\n+using MvvmCross.Binding.BindingContext;\n+using MvvmCross.Droid.Support.V7.RecyclerView;\n+using MvvmCross.Platforms.Android.Binding.BindingContext;\n+\n+namespace Phonebook.Droid.Views.Contacts\n+{\n+    internal class ContactsAdapter : MvxRecyclerAdapter\n+    {\n+        public ICommand GettingContactsCommandAdapter { get; set; }\n+        public ContactsAdapter(IMvxAndroidBindingContext bindingContext)\n+            : base(bindingContext)\n+        {\n+        }\n+\n+        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)\n+        {\n+            var itemBindingContext = new MvxAndroidBindingContext(parent.Context, BindingContext.LayoutInflaterHolder);\n+            var vh = new MvxRecyclerViewHolder(InflateViewForHolder(parent, viewType, itemBindingContext), itemBindingContext)\n+            {\n+                Click = ItemClick\n+            };\n+            return vh;\n+        }\n+\n+        public override int GetItemViewType(int position) => ItemTemplateSelector.GetItemViewType(GetItem(position));","path":"src/Phonebook.Droid/Views/Contacts/ContactsAdapter.cs","position":37,"original_position":37,"commit_id":"12ead5ab157852fd455671856286e9d48b921ba5","original_commit_id":"12ead5ab157852fd455671856286e9d48b921ba5","user":{"login":"pocheshire","id":5900125,"node_id":"MDQ6VXNlcjU5MDAxMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/5900125?v=4","gravatar_id":"","url":"https://api.github.com/users/pocheshire","html_url":"https://github.com/pocheshire","followers_url":"https://api.github.com/users/pocheshire/followers","following_url":"https://api.github.com/users/pocheshire/following{/other_user}","gists_url":"https://api.github.com/users/pocheshire/gists{/gist_id}","starred_url":"https://api.github.com/users/pocheshire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocheshire/subscriptions","organizations_url":"https://api.github.com/users/pocheshire/orgs","repos_url":"https://api.github.com/users/pocheshire/repos","events_url":"https://api.github.com/users/pocheshire/events{/privacy}","received_events_url":"https://api.github.com/users/pocheshire/received_events","type":"User","site_admin":false},"body":"Этот метод и так реализован в MvxRecyclerAdapter","created_at":"2018-12-13T12:05:00Z","updated_at":"2018-12-13T12:05:53Z","html_url":"https://github.com/neldnelaps/Phonebook/pull/2#discussion_r241374682","pull_request_url":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/comments/241374682"},"html":{"href":"https://github.com/neldnelaps/Phonebook/pull/2#discussion_r241374682"},"pull_request":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/2","id":237236277,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MjM2Mjc3","html_url":"https://github.com/neldnelaps/Phonebook/pull/2","diff_url":"https://github.com/neldnelaps/Phonebook/pull/2.diff","patch_url":"https://github.com/neldnelaps/Phonebook/pull/2.patch","issue_url":"https://api.github.com/repos/neldnelaps/Phonebook/issues/2","number":2,"state":"open","locked":false,"title":"Story 23383","user":{"login":"neldnelaps","id":18005828,"node_id":"MDQ6VXNlcjE4MDA1ODI4","avatar_url":"https://avatars3.githubusercontent.com/u/18005828?v=4","gravatar_id":"","url":"https://api.github.com/users/neldnelaps","html_url":"https://github.com/neldnelaps","followers_url":"https://api.github.com/users/neldnelaps/followers","following_url":"https://api.github.com/users/neldnelaps/following{/other_user}","gists_url":"https://api.github.com/users/neldnelaps/gists{/gist_id}","starred_url":"https://api.github.com/users/neldnelaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neldnelaps/subscriptions","organizations_url":"https://api.github.com/users/neldnelaps/orgs","repos_url":"https://api.github.com/users/neldnelaps/repos","events_url":"https://api.github.com/users/neldnelaps/events{/privacy}","received_events_url":"https://api.github.com/users/neldnelaps/received_events","type":"User","site_admin":false},"body":"update","created_at":"2018-12-10T08:36:52Z","updated_at":"2018-12-13T12:05:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0b18c0ad5e967ca65bc2205f836d22e04ab1c3e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/2/commits","review_comments_url":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/2/comments","review_comment_url":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neldnelaps/Phonebook/issues/2/comments","statuses_url":"https://api.github.com/repos/neldnelaps/Phonebook/statuses/12ead5ab157852fd455671856286e9d48b921ba5","head":{"label":"neldnelaps:Story-23383","ref":"Story-23383","sha":"12ead5ab157852fd455671856286e9d48b921ba5","user":{"login":"neldnelaps","id":18005828,"node_id":"MDQ6VXNlcjE4MDA1ODI4","avatar_url":"https://avatars3.githubusercontent.com/u/18005828?v=4","gravatar_id":"","url":"https://api.github.com/users/neldnelaps","html_url":"https://github.com/neldnelaps","followers_url":"https://api.github.com/users/neldnelaps/followers","following_url":"https://api.github.com/users/neldnelaps/following{/other_user}","gists_url":"https://api.github.com/users/neldnelaps/gists{/gist_id}","starred_url":"https://api.github.com/users/neldnelaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neldnelaps/subscriptions","organizations_url":"https://api.github.com/users/neldnelaps/orgs","repos_url":"https://api.github.com/users/neldnelaps/repos","events_url":"https://api.github.com/users/neldnelaps/events{/privacy}","received_events_url":"https://api.github.com/users/neldnelaps/received_events","type":"User","site_admin":false},"repo":{"id":159783225,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk3ODMyMjU=","name":"Phonebook","full_name":"neldnelaps/Phonebook","private":false,"owner":{"login":"neldnelaps","id":18005828,"node_id":"MDQ6VXNlcjE4MDA1ODI4","avatar_url":"https://avatars3.githubusercontent.com/u/18005828?v=4","gravatar_id":"","url":"https://api.github.com/users/neldnelaps","html_url":"https://github.com/neldnelaps","followers_url":"https://api.github.com/users/neldnelaps/followers","following_url":"https://api.github.com/users/neldnelaps/following{/other_user}","gists_url":"https://api.github.com/users/neldnelaps/gists{/gist_id}","starred_url":"https://api.github.com/users/neldnelaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neldnelaps/subscriptions","organizations_url":"https://api.github.com/users/neldnelaps/orgs","repos_url":"https://api.github.com/users/neldnelaps/repos","events_url":"https://api.github.com/users/neldnelaps/events{/privacy}","received_events_url":"https://api.github.com/users/neldnelaps/received_events","type":"User","site_admin":false},"html_url":"https://github.com/neldnelaps/Phonebook","description":null,"fork":false,"url":"https://api.github.com/repos/neldnelaps/Phonebook","forks_url":"https://api.github.com/repos/neldnelaps/Phonebook/forks","keys_url":"https://api.github.com/repos/neldnelaps/Phonebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neldnelaps/Phonebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neldnelaps/Phonebook/teams","hooks_url":"https://api.github.com/repos/neldnelaps/Phonebook/hooks","issue_events_url":"https://api.github.com/repos/neldnelaps/Phonebook/issues/events{/number}","events_url":"https://api.github.com/repos/neldnelaps/Phonebook/events","assignees_url":"https://api.github.com/repos/neldnelaps/Phonebook/assignees{/user}","branches_url":"https://api.github.com/repos/neldnelaps/Phonebook/branches{/branch}","tags_url":"https://api.github.com/repos/neldnelaps/Phonebook/tags","blobs_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neldnelaps/Phonebook/statuses/{sha}","languages_url":"https://api.github.com/repos/neldnelaps/Phonebook/languages","stargazers_url":"https://api.github.com/repos/neldnelaps/Phonebook/stargazers","contributors_url":"https://api.github.com/repos/neldnelaps/Phonebook/contributors","subscribers_url":"https://api.github.com/repos/neldnelaps/Phonebook/subscribers","subscription_url":"https://api.github.com/repos/neldnelaps/Phonebook/subscription","commits_url":"https://api.github.com/repos/neldnelaps/Phonebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/neldnelaps/Phonebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/neldnelaps/Phonebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/neldnelaps/Phonebook/contents/{+path}","compare_url":"https://api.github.com/repos/neldnelaps/Phonebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neldnelaps/Phonebook/merges","archive_url":"https://api.github.com/repos/neldnelaps/Phonebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neldnelaps/Phonebook/downloads","issues_url":"https://api.github.com/repos/neldnelaps/Phonebook/issues{/number}","pulls_url":"https://api.github.com/repos/neldnelaps/Phonebook/pulls{/number}","milestones_url":"https://api.github.com/repos/neldnelaps/Phonebook/milestones{/number}","notifications_url":"https://api.github.com/repos/neldnelaps/Phonebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neldnelaps/Phonebook/labels{/name}","releases_url":"https://api.github.com/repos/neldnelaps/Phonebook/releases{/id}","deployments_url":"https://api.github.com/repos/neldnelaps/Phonebook/deployments","created_at":"2018-11-30T07:11:12Z","updated_at":"2018-12-06T09:47:21Z","pushed_at":"2018-12-13T09:43:21Z","git_url":"git://github.com/neldnelaps/Phonebook.git","ssh_url":"git@github.com:neldnelaps/Phonebook.git","clone_url":"https://github.com/neldnelaps/Phonebook.git","svn_url":"https://github.com/neldnelaps/Phonebook","homepage":null,"size":737,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"neldnelaps:dev","ref":"dev","sha":"ebb9429e7c9f34c2f3b53ec97cbf417668911438","user":{"login":"neldnelaps","id":18005828,"node_id":"MDQ6VXNlcjE4MDA1ODI4","avatar_url":"https://avatars3.githubusercontent.com/u/18005828?v=4","gravatar_id":"","url":"https://api.github.com/users/neldnelaps","html_url":"https://github.com/neldnelaps","followers_url":"https://api.github.com/users/neldnelaps/followers","following_url":"https://api.github.com/users/neldnelaps/following{/other_user}","gists_url":"https://api.github.com/users/neldnelaps/gists{/gist_id}","starred_url":"https://api.github.com/users/neldnelaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neldnelaps/subscriptions","organizations_url":"https://api.github.com/users/neldnelaps/orgs","repos_url":"https://api.github.com/users/neldnelaps/repos","events_url":"https://api.github.com/users/neldnelaps/events{/privacy}","received_events_url":"https://api.github.com/users/neldnelaps/received_events","type":"User","site_admin":false},"repo":{"id":159783225,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk3ODMyMjU=","name":"Phonebook","full_name":"neldnelaps/Phonebook","private":false,"owner":{"login":"neldnelaps","id":18005828,"node_id":"MDQ6VXNlcjE4MDA1ODI4","avatar_url":"https://avatars3.githubusercontent.com/u/18005828?v=4","gravatar_id":"","url":"https://api.github.com/users/neldnelaps","html_url":"https://github.com/neldnelaps","followers_url":"https://api.github.com/users/neldnelaps/followers","following_url":"https://api.github.com/users/neldnelaps/following{/other_user}","gists_url":"https://api.github.com/users/neldnelaps/gists{/gist_id}","starred_url":"https://api.github.com/users/neldnelaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neldnelaps/subscriptions","organizations_url":"https://api.github.com/users/neldnelaps/orgs","repos_url":"https://api.github.com/users/neldnelaps/repos","events_url":"https://api.github.com/users/neldnelaps/events{/privacy}","received_events_url":"https://api.github.com/users/neldnelaps/received_events","type":"User","site_admin":false},"html_url":"https://github.com/neldnelaps/Phonebook","description":null,"fork":false,"url":"https://api.github.com/repos/neldnelaps/Phonebook","forks_url":"https://api.github.com/repos/neldnelaps/Phonebook/forks","keys_url":"https://api.github.com/repos/neldnelaps/Phonebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neldnelaps/Phonebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neldnelaps/Phonebook/teams","hooks_url":"https://api.github.com/repos/neldnelaps/Phonebook/hooks","issue_events_url":"https://api.github.com/repos/neldnelaps/Phonebook/issues/events{/number}","events_url":"https://api.github.com/repos/neldnelaps/Phonebook/events","assignees_url":"https://api.github.com/repos/neldnelaps/Phonebook/assignees{/user}","branches_url":"https://api.github.com/repos/neldnelaps/Phonebook/branches{/branch}","tags_url":"https://api.github.com/repos/neldnelaps/Phonebook/tags","blobs_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neldnelaps/Phonebook/statuses/{sha}","languages_url":"https://api.github.com/repos/neldnelaps/Phonebook/languages","stargazers_url":"https://api.github.com/repos/neldnelaps/Phonebook/stargazers","contributors_url":"https://api.github.com/repos/neldnelaps/Phonebook/contributors","subscribers_url":"https://api.github.com/repos/neldnelaps/Phonebook/subscribers","subscription_url":"https://api.github.com/repos/neldnelaps/Phonebook/subscription","commits_url":"https://api.github.com/repos/neldnelaps/Phonebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/neldnelaps/Phonebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/neldnelaps/Phonebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/neldnelaps/Phonebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/neldnelaps/Phonebook/contents/{+path}","compare_url":"https://api.github.com/repos/neldnelaps/Phonebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neldnelaps/Phonebook/merges","archive_url":"https://api.github.com/repos/neldnelaps/Phonebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neldnelaps/Phonebook/downloads","issues_url":"https://api.github.com/repos/neldnelaps/Phonebook/issues{/number}","pulls_url":"https://api.github.com/repos/neldnelaps/Phonebook/pulls{/number}","milestones_url":"https://api.github.com/repos/neldnelaps/Phonebook/milestones{/number}","notifications_url":"https://api.github.com/repos/neldnelaps/Phonebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neldnelaps/Phonebook/labels{/name}","releases_url":"https://api.github.com/repos/neldnelaps/Phonebook/releases{/id}","deployments_url":"https://api.github.com/repos/neldnelaps/Phonebook/deployments","created_at":"2018-11-30T07:11:12Z","updated_at":"2018-12-06T09:47:21Z","pushed_at":"2018-12-13T09:43:21Z","git_url":"git://github.com/neldnelaps/Phonebook.git","ssh_url":"git@github.com:neldnelaps/Phonebook.git","clone_url":"https://github.com/neldnelaps/Phonebook.git","svn_url":"https://github.com/neldnelaps/Phonebook","homepage":null,"size":737,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/2"},"html":{"href":"https://github.com/neldnelaps/Phonebook/pull/2"},"issue":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/issues/2"},"comments":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/neldnelaps/Phonebook/statuses/12ead5ab157852fd455671856286e9d48b921ba5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"pocheshire"}}