{"action":"created","comment":{"url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/comments/107980257","pull_request_review_id":28989073,"id":107980257,"diff_hunk":"@@ -0,0 +1,82 @@\n+using System;\n+\n+using Android.Views;\n+using Android.Widget;\n+using Android.Support.V7.Widget;\n+using Android.Support.V7;\n+\n+using Common.Common;\n+using Common.Common.Models;\n+using System.Collections.Generic;\n+\n+namespace Client.Droid.Adapters\n+{\n+    class ScheduleAdapter : RecyclerView.Adapter\n+    {\n+        public event EventHandler<ScheduleAdapterClickEventArgs> ItemClick;\n+        public event EventHandler<ScheduleAdapterClickEventArgs> ItemLongClick;\n+        List<Event> items;\n+\n+        public ScheduleAdapter(List<Event> data)\n+        {\n+            items = data;\n+        }\n+\n+        // Create new views (invoked by the layout manager)\n+        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)\n+        {\n+\n+            //Setup your layout here\n+            var id = Resource.Layout.event_layout;\n+            View itemView = LayoutInflater.From(parent.Context).Inflate(id, parent, false);\n+\n+            var vh = new ScheduleAdapterViewHolder(itemView, OnClick, OnLongClick);\n+            return vh;\n+        }\n+\n+        // Replace the contents of a view (invoked by the layout manager)\n+        public override void OnBindViewHolder(RecyclerView.ViewHolder viewHolder, int position)\n+        {\n+            var item = items[position];\n+\n+            // Replace the contents of the view with that element\n+            var holder = viewHolder as ScheduleAdapterViewHolder;\n+            holder.Title.Text = items[position].Title;\n+            holder.Location.Text = items[position].Location.Name;\n+            holder.StartTime.Text = items[position].StartTime;\n+        }\n+\n+        public override int ItemCount => items.Count;\n+\n+        void OnClick(ScheduleAdapterClickEventArgs args) => ItemClick?.Invoke(this, args);\n+        void OnLongClick(ScheduleAdapterClickEventArgs args) => ItemLongClick?.Invoke(this, args);\n+","path":"mobile/Client/Client.Droid/Adapters/ScheduleAdapter.cs","position":53,"original_position":53,"commit_id":"ff2e34986a5ef9eca87429b9639eb4d8f6626c0d","original_commit_id":"ff2e34986a5ef9eca87429b9639eb4d8f6626c0d","user":{"login":"zuhairp","id":1707145,"avatar_url":"https://avatars2.githubusercontent.com/u/1707145?v=3","gravatar_id":"","url":"https://api.github.com/users/zuhairp","html_url":"https://github.com/zuhairp","followers_url":"https://api.github.com/users/zuhairp/followers","following_url":"https://api.github.com/users/zuhairp/following{/other_user}","gists_url":"https://api.github.com/users/zuhairp/gists{/gist_id}","starred_url":"https://api.github.com/users/zuhairp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuhairp/subscriptions","organizations_url":"https://api.github.com/users/zuhairp/orgs","repos_url":"https://api.github.com/users/zuhairp/repos","events_url":"https://api.github.com/users/zuhairp/events{/privacy}","received_events_url":"https://api.github.com/users/zuhairp/received_events","type":"User","site_admin":false},"body":"style: remove extra space","created_at":"2017-03-24T19:15:23Z","updated_at":"2017-03-24T19:22:43Z","html_url":"https://github.com/MSA-Lone-Star-Council/Showdown/pull/44#discussion_r107980257","pull_request_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/comments/107980257"},"html":{"href":"https://github.com/MSA-Lone-Star-Council/Showdown/pull/44#discussion_r107980257"},"pull_request":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/44","id":111464480,"html_url":"https://github.com/MSA-Lone-Star-Council/Showdown/pull/44","diff_url":"https://github.com/MSA-Lone-Star-Council/Showdown/pull/44.diff","patch_url":"https://github.com/MSA-Lone-Star-Council/Showdown/pull/44.patch","issue_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues/44","number":44,"state":"open","locked":false,"title":"Schedule recycler view","user":{"login":"Saadnajmi","id":6722175,"avatar_url":"https://avatars1.githubusercontent.com/u/6722175?v=3","gravatar_id":"","url":"https://api.github.com/users/Saadnajmi","html_url":"https://github.com/Saadnajmi","followers_url":"https://api.github.com/users/Saadnajmi/followers","following_url":"https://api.github.com/users/Saadnajmi/following{/other_user}","gists_url":"https://api.github.com/users/Saadnajmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Saadnajmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saadnajmi/subscriptions","organizations_url":"https://api.github.com/users/Saadnajmi/orgs","repos_url":"https://api.github.com/users/Saadnajmi/repos","events_url":"https://api.github.com/users/Saadnajmi/events{/privacy}","received_events_url":"https://api.github.com/users/Saadnajmi/received_events","type":"User","site_admin":false},"body":"Adding a RecyclerView that will use fake data to instantiate the schedule","created_at":"2017-03-19T19:44:16Z","updated_at":"2017-03-24T19:22:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75081087207d282001d532e87700af375caff05f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/44/commits","review_comments_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/44/comments","review_comment_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues/44/comments","statuses_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/statuses/ff2e34986a5ef9eca87429b9639eb4d8f6626c0d","head":{"label":"MSA-Lone-Star-Council:schedule_recyclerView","ref":"schedule_recyclerView","sha":"ff2e34986a5ef9eca87429b9639eb4d8f6626c0d","user":{"login":"MSA-Lone-Star-Council","id":26019748,"avatar_url":"https://avatars2.githubusercontent.com/u/26019748?v=3","gravatar_id":"","url":"https://api.github.com/users/MSA-Lone-Star-Council","html_url":"https://github.com/MSA-Lone-Star-Council","followers_url":"https://api.github.com/users/MSA-Lone-Star-Council/followers","following_url":"https://api.github.com/users/MSA-Lone-Star-Council/following{/other_user}","gists_url":"https://api.github.com/users/MSA-Lone-Star-Council/gists{/gist_id}","starred_url":"https://api.github.com/users/MSA-Lone-Star-Council/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSA-Lone-Star-Council/subscriptions","organizations_url":"https://api.github.com/users/MSA-Lone-Star-Council/orgs","repos_url":"https://api.github.com/users/MSA-Lone-Star-Council/repos","events_url":"https://api.github.com/users/MSA-Lone-Star-Council/events{/privacy}","received_events_url":"https://api.github.com/users/MSA-Lone-Star-Council/received_events","type":"Organization","site_admin":false},"repo":{"id":78714573,"name":"Showdown","full_name":"MSA-Lone-Star-Council/Showdown","owner":{"login":"MSA-Lone-Star-Council","id":26019748,"avatar_url":"https://avatars2.githubusercontent.com/u/26019748?v=3","gravatar_id":"","url":"https://api.github.com/users/MSA-Lone-Star-Council","html_url":"https://github.com/MSA-Lone-Star-Council","followers_url":"https://api.github.com/users/MSA-Lone-Star-Council/followers","following_url":"https://api.github.com/users/MSA-Lone-Star-Council/following{/other_user}","gists_url":"https://api.github.com/users/MSA-Lone-Star-Council/gists{/gist_id}","starred_url":"https://api.github.com/users/MSA-Lone-Star-Council/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSA-Lone-Star-Council/subscriptions","organizations_url":"https://api.github.com/users/MSA-Lone-Star-Council/orgs","repos_url":"https://api.github.com/users/MSA-Lone-Star-Council/repos","events_url":"https://api.github.com/users/MSA-Lone-Star-Council/events{/privacy}","received_events_url":"https://api.github.com/users/MSA-Lone-Star-Council/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MSA-Lone-Star-Council/Showdown","description":"The app for MSA Showdown, hosted by Lone Star Council","fork":false,"url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown","forks_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/forks","keys_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/teams","hooks_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/hooks","issue_events_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/events","assignees_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/tags","blobs_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/languages","stargazers_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/stargazers","contributors_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/contributors","subscribers_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/subscribers","subscription_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/subscription","commits_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/merges","archive_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/downloads","issues_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/labels{/name}","releases_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/releases{/id}","deployments_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/deployments","created_at":"2017-01-12T06:10:37Z","updated_at":"2017-03-19T17:54:40Z","pushed_at":"2017-03-24T18:19:01Z","git_url":"git://github.com/MSA-Lone-Star-Council/Showdown.git","ssh_url":"git@github.com:MSA-Lone-Star-Council/Showdown.git","clone_url":"https://github.com/MSA-Lone-Star-Council/Showdown.git","svn_url":"https://github.com/MSA-Lone-Star-Council/Showdown","homepage":null,"size":444,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":1,"default_branch":"master"}},"base":{"label":"MSA-Lone-Star-Council:master","ref":"master","sha":"dba15b9ad613475fedc6667192c5f8ef219a95b2","user":{"login":"MSA-Lone-Star-Council","id":26019748,"avatar_url":"https://avatars2.githubusercontent.com/u/26019748?v=3","gravatar_id":"","url":"https://api.github.com/users/MSA-Lone-Star-Council","html_url":"https://github.com/MSA-Lone-Star-Council","followers_url":"https://api.github.com/users/MSA-Lone-Star-Council/followers","following_url":"https://api.github.com/users/MSA-Lone-Star-Council/following{/other_user}","gists_url":"https://api.github.com/users/MSA-Lone-Star-Council/gists{/gist_id}","starred_url":"https://api.github.com/users/MSA-Lone-Star-Council/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSA-Lone-Star-Council/subscriptions","organizations_url":"https://api.github.com/users/MSA-Lone-Star-Council/orgs","repos_url":"https://api.github.com/users/MSA-Lone-Star-Council/repos","events_url":"https://api.github.com/users/MSA-Lone-Star-Council/events{/privacy}","received_events_url":"https://api.github.com/users/MSA-Lone-Star-Council/received_events","type":"Organization","site_admin":false},"repo":{"id":78714573,"name":"Showdown","full_name":"MSA-Lone-Star-Council/Showdown","owner":{"login":"MSA-Lone-Star-Council","id":26019748,"avatar_url":"https://avatars2.githubusercontent.com/u/26019748?v=3","gravatar_id":"","url":"https://api.github.com/users/MSA-Lone-Star-Council","html_url":"https://github.com/MSA-Lone-Star-Council","followers_url":"https://api.github.com/users/MSA-Lone-Star-Council/followers","following_url":"https://api.github.com/users/MSA-Lone-Star-Council/following{/other_user}","gists_url":"https://api.github.com/users/MSA-Lone-Star-Council/gists{/gist_id}","starred_url":"https://api.github.com/users/MSA-Lone-Star-Council/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSA-Lone-Star-Council/subscriptions","organizations_url":"https://api.github.com/users/MSA-Lone-Star-Council/orgs","repos_url":"https://api.github.com/users/MSA-Lone-Star-Council/repos","events_url":"https://api.github.com/users/MSA-Lone-Star-Council/events{/privacy}","received_events_url":"https://api.github.com/users/MSA-Lone-Star-Council/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MSA-Lone-Star-Council/Showdown","description":"The app for MSA Showdown, hosted by Lone Star Council","fork":false,"url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown","forks_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/forks","keys_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/teams","hooks_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/hooks","issue_events_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/events","assignees_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/tags","blobs_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/languages","stargazers_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/stargazers","contributors_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/contributors","subscribers_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/subscribers","subscription_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/subscription","commits_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/merges","archive_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/downloads","issues_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/labels{/name}","releases_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/releases{/id}","deployments_url":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/deployments","created_at":"2017-01-12T06:10:37Z","updated_at":"2017-03-19T17:54:40Z","pushed_at":"2017-03-24T18:19:01Z","git_url":"git://github.com/MSA-Lone-Star-Council/Showdown.git","ssh_url":"git@github.com:MSA-Lone-Star-Council/Showdown.git","clone_url":"https://github.com/MSA-Lone-Star-Council/Showdown.git","svn_url":"https://github.com/MSA-Lone-Star-Council/Showdown","homepage":null,"size":444,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/44"},"html":{"href":"https://github.com/MSA-Lone-Star-Council/Showdown/pull/44"},"issue":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues/44"},"comments":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/MSA-Lone-Star-Council/Showdown/statuses/ff2e34986a5ef9eca87429b9639eb4d8f6626c0d"}}}}
{"actor":{"display_login":"zuhairp"}}