{"action":"created","comment":{"url":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/comments/148425102","pull_request_review_id":73665253,"id":148425102,"diff_hunk":"@@ -0,0 +1,38 @@\n+package com.layer.ui.message;\n+\n+import android.content.Context;\n+import android.databinding.DataBindingUtil;\n+import android.support.annotation.Nullable;\n+import android.util.AttributeSet;\n+import android.view.LayoutInflater;\n+import android.widget.FrameLayout;\n+\n+import com.layer.ui.R;\n+import com.layer.ui.databinding.UiEmptyMessageItemBinding;\n+\n+public final class EmptyMessageListHeaderView extends FrameLayout {\n+    private UiEmptyMessageItemBinding mUiEmptyMessageItemsListBinding;\n+\n+    public EmptyMessageListHeaderView(Context context) {\n+        this(context, null);\n+    }\n+\n+    public EmptyMessageListHeaderView(Context context, @Nullable AttributeSet attrs) {\n+        this(context, attrs, 0);\n+    }\n+\n+    public EmptyMessageListHeaderView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {\n+        super(context, attrs, defStyleAttr);\n+\n+        LayoutInflater inflater = (LayoutInflater) getContext().getSystemService(","path":"layer-atlas/src/main/java/com/layer/ui/message/EmptyMessageListHeaderView.java","position":27,"original_position":27,"commit_id":"be79f336a9d3a1e8007a50f2b457516f9122ac16","original_commit_id":"be79f336a9d3a1e8007a50f2b457516f9122ac16","user":{"login":"thecombatwombat","id":2472093,"avatar_url":"https://avatars0.githubusercontent.com/u/2472093?v=4","gravatar_id":"","url":"https://api.github.com/users/thecombatwombat","html_url":"https://github.com/thecombatwombat","followers_url":"https://api.github.com/users/thecombatwombat/followers","following_url":"https://api.github.com/users/thecombatwombat/following{/other_user}","gists_url":"https://api.github.com/users/thecombatwombat/gists{/gist_id}","starred_url":"https://api.github.com/users/thecombatwombat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecombatwombat/subscriptions","organizations_url":"https://api.github.com/users/thecombatwombat/orgs","repos_url":"https://api.github.com/users/thecombatwombat/repos","events_url":"https://api.github.com/users/thecombatwombat/events{/privacy}","received_events_url":"https://api.github.com/users/thecombatwombat/received_events","type":"User","site_admin":false},"body":"This can be simplified to `LayoutInflater inflater = LayoutInflater.from(getContext());`","created_at":"2017-11-02T01:26:44Z","updated_at":"2017-11-02T01:36:39Z","html_url":"https://github.com/layerhq/Atlas-Android/pull/279#discussion_r148425102","pull_request_url":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/279","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/comments/148425102"},"html":{"href":"https://github.com/layerhq/Atlas-Android/pull/279#discussion_r148425102"},"pull_request":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/279"}}},"pull_request":{"url":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/279","id":146269284,"html_url":"https://github.com/layerhq/Atlas-Android/pull/279","diff_url":"https://github.com/layerhq/Atlas-Android/pull/279.diff","patch_url":"https://github.com/layerhq/Atlas-Android/pull/279.patch","issue_url":"https://api.github.com/repos/layerhq/Atlas-Android/issues/279","number":279,"state":"open","locked":false,"title":"Display Empty Message when List is Empty","user":{"login":"andela-wakinsanmi","id":16117695,"avatar_url":"https://avatars2.githubusercontent.com/u/16117695?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-wakinsanmi","html_url":"https://github.com/andela-wakinsanmi","followers_url":"https://api.github.com/users/andela-wakinsanmi/followers","following_url":"https://api.github.com/users/andela-wakinsanmi/following{/other_user}","gists_url":"https://api.github.com/users/andela-wakinsanmi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-wakinsanmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-wakinsanmi/subscriptions","organizations_url":"https://api.github.com/users/andela-wakinsanmi/orgs","repos_url":"https://api.github.com/users/andela-wakinsanmi/repos","events_url":"https://api.github.com/users/andela-wakinsanmi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-wakinsanmi/received_events","type":"User","site_admin":false},"body":"This displays message on a Textview when the MessageList is empty","created_at":"2017-10-12T17:32:01Z","updated_at":"2017-11-02T01:36:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9dc8eb3d9031a047f8e9c9d7aa04dab8f77e19c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/279/commits","review_comments_url":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/279/comments","review_comment_url":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/layerhq/Atlas-Android/issues/279/comments","statuses_url":"https://api.github.com/repos/layerhq/Atlas-Android/statuses/be79f336a9d3a1e8007a50f2b457516f9122ac16","head":{"label":"layerhq:task/AND-596/Ability-to-add0default-first-View-in-Message-list-2","ref":"task/AND-596/Ability-to-add0default-first-View-in-Message-list-2","sha":"be79f336a9d3a1e8007a50f2b457516f9122ac16","user":{"login":"layerhq","id":5497685,"avatar_url":"https://avatars2.githubusercontent.com/u/5497685?v=4","gravatar_id":"","url":"https://api.github.com/users/layerhq","html_url":"https://github.com/layerhq","followers_url":"https://api.github.com/users/layerhq/followers","following_url":"https://api.github.com/users/layerhq/following{/other_user}","gists_url":"https://api.github.com/users/layerhq/gists{/gist_id}","starred_url":"https://api.github.com/users/layerhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layerhq/subscriptions","organizations_url":"https://api.github.com/users/layerhq/orgs","repos_url":"https://api.github.com/users/layerhq/repos","events_url":"https://api.github.com/users/layerhq/events{/privacy}","received_events_url":"https://api.github.com/users/layerhq/received_events","type":"Organization","site_admin":false},"repo":{"id":36491008,"name":"Atlas-Android","full_name":"layerhq/Atlas-Android","owner":{"login":"layerhq","id":5497685,"avatar_url":"https://avatars2.githubusercontent.com/u/5497685?v=4","gravatar_id":"","url":"https://api.github.com/users/layerhq","html_url":"https://github.com/layerhq","followers_url":"https://api.github.com/users/layerhq/followers","following_url":"https://api.github.com/users/layerhq/following{/other_user}","gists_url":"https://api.github.com/users/layerhq/gists{/gist_id}","starred_url":"https://api.github.com/users/layerhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layerhq/subscriptions","organizations_url":"https://api.github.com/users/layerhq/orgs","repos_url":"https://api.github.com/users/layerhq/repos","events_url":"https://api.github.com/users/layerhq/events{/privacy}","received_events_url":"https://api.github.com/users/layerhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/layerhq/Atlas-Android","description":"Library of native Android chat and messaging UI components, built to work with Layer","fork":false,"url":"https://api.github.com/repos/layerhq/Atlas-Android","forks_url":"https://api.github.com/repos/layerhq/Atlas-Android/forks","keys_url":"https://api.github.com/repos/layerhq/Atlas-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/layerhq/Atlas-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/layerhq/Atlas-Android/teams","hooks_url":"https://api.github.com/repos/layerhq/Atlas-Android/hooks","issue_events_url":"https://api.github.com/repos/layerhq/Atlas-Android/issues/events{/number}","events_url":"https://api.github.com/repos/layerhq/Atlas-Android/events","assignees_url":"https://api.github.com/repos/layerhq/Atlas-Android/assignees{/user}","branches_url":"https://api.github.com/repos/layerhq/Atlas-Android/branches{/branch}","tags_url":"https://api.github.com/repos/layerhq/Atlas-Android/tags","blobs_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/layerhq/Atlas-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/layerhq/Atlas-Android/languages","stargazers_url":"https://api.github.com/repos/layerhq/Atlas-Android/stargazers","contributors_url":"https://api.github.com/repos/layerhq/Atlas-Android/contributors","subscribers_url":"https://api.github.com/repos/layerhq/Atlas-Android/subscribers","subscription_url":"https://api.github.com/repos/layerhq/Atlas-Android/subscription","commits_url":"https://api.github.com/repos/layerhq/Atlas-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/layerhq/Atlas-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/layerhq/Atlas-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/layerhq/Atlas-Android/contents/{+path}","compare_url":"https://api.github.com/repos/layerhq/Atlas-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/layerhq/Atlas-Android/merges","archive_url":"https://api.github.com/repos/layerhq/Atlas-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/layerhq/Atlas-Android/downloads","issues_url":"https://api.github.com/repos/layerhq/Atlas-Android/issues{/number}","pulls_url":"https://api.github.com/repos/layerhq/Atlas-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/layerhq/Atlas-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/layerhq/Atlas-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/layerhq/Atlas-Android/labels{/name}","releases_url":"https://api.github.com/repos/layerhq/Atlas-Android/releases{/id}","deployments_url":"https://api.github.com/repos/layerhq/Atlas-Android/deployments","created_at":"2015-05-29T08:21:24Z","updated_at":"2017-10-18T17:15:21Z","pushed_at":"2017-11-02T01:24:54Z","git_url":"git://github.com/layerhq/Atlas-Android.git","ssh_url":"git@github.com:layerhq/Atlas-Android.git","clone_url":"https://github.com/layerhq/Atlas-Android.git","svn_url":"https://github.com/layerhq/Atlas-Android","homepage":"https://layer.com/","size":29754,"stargazers_count":303,"watchers_count":303,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":160,"mirror_url":null,"archived":false,"open_issues_count":19,"forks":160,"open_issues":19,"watchers":303,"default_branch":"master"}},"base":{"label":"layerhq:layer_ui","ref":"layer_ui","sha":"af7080eba9742b605929cc4e1ed99b07c21d999d","user":{"login":"layerhq","id":5497685,"avatar_url":"https://avatars2.githubusercontent.com/u/5497685?v=4","gravatar_id":"","url":"https://api.github.com/users/layerhq","html_url":"https://github.com/layerhq","followers_url":"https://api.github.com/users/layerhq/followers","following_url":"https://api.github.com/users/layerhq/following{/other_user}","gists_url":"https://api.github.com/users/layerhq/gists{/gist_id}","starred_url":"https://api.github.com/users/layerhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layerhq/subscriptions","organizations_url":"https://api.github.com/users/layerhq/orgs","repos_url":"https://api.github.com/users/layerhq/repos","events_url":"https://api.github.com/users/layerhq/events{/privacy}","received_events_url":"https://api.github.com/users/layerhq/received_events","type":"Organization","site_admin":false},"repo":{"id":36491008,"name":"Atlas-Android","full_name":"layerhq/Atlas-Android","owner":{"login":"layerhq","id":5497685,"avatar_url":"https://avatars2.githubusercontent.com/u/5497685?v=4","gravatar_id":"","url":"https://api.github.com/users/layerhq","html_url":"https://github.com/layerhq","followers_url":"https://api.github.com/users/layerhq/followers","following_url":"https://api.github.com/users/layerhq/following{/other_user}","gists_url":"https://api.github.com/users/layerhq/gists{/gist_id}","starred_url":"https://api.github.com/users/layerhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layerhq/subscriptions","organizations_url":"https://api.github.com/users/layerhq/orgs","repos_url":"https://api.github.com/users/layerhq/repos","events_url":"https://api.github.com/users/layerhq/events{/privacy}","received_events_url":"https://api.github.com/users/layerhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/layerhq/Atlas-Android","description":"Library of native Android chat and messaging UI components, built to work with Layer","fork":false,"url":"https://api.github.com/repos/layerhq/Atlas-Android","forks_url":"https://api.github.com/repos/layerhq/Atlas-Android/forks","keys_url":"https://api.github.com/repos/layerhq/Atlas-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/layerhq/Atlas-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/layerhq/Atlas-Android/teams","hooks_url":"https://api.github.com/repos/layerhq/Atlas-Android/hooks","issue_events_url":"https://api.github.com/repos/layerhq/Atlas-Android/issues/events{/number}","events_url":"https://api.github.com/repos/layerhq/Atlas-Android/events","assignees_url":"https://api.github.com/repos/layerhq/Atlas-Android/assignees{/user}","branches_url":"https://api.github.com/repos/layerhq/Atlas-Android/branches{/branch}","tags_url":"https://api.github.com/repos/layerhq/Atlas-Android/tags","blobs_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/layerhq/Atlas-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/layerhq/Atlas-Android/languages","stargazers_url":"https://api.github.com/repos/layerhq/Atlas-Android/stargazers","contributors_url":"https://api.github.com/repos/layerhq/Atlas-Android/contributors","subscribers_url":"https://api.github.com/repos/layerhq/Atlas-Android/subscribers","subscription_url":"https://api.github.com/repos/layerhq/Atlas-Android/subscription","commits_url":"https://api.github.com/repos/layerhq/Atlas-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/layerhq/Atlas-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/layerhq/Atlas-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/layerhq/Atlas-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/layerhq/Atlas-Android/contents/{+path}","compare_url":"https://api.github.com/repos/layerhq/Atlas-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/layerhq/Atlas-Android/merges","archive_url":"https://api.github.com/repos/layerhq/Atlas-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/layerhq/Atlas-Android/downloads","issues_url":"https://api.github.com/repos/layerhq/Atlas-Android/issues{/number}","pulls_url":"https://api.github.com/repos/layerhq/Atlas-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/layerhq/Atlas-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/layerhq/Atlas-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/layerhq/Atlas-Android/labels{/name}","releases_url":"https://api.github.com/repos/layerhq/Atlas-Android/releases{/id}","deployments_url":"https://api.github.com/repos/layerhq/Atlas-Android/deployments","created_at":"2015-05-29T08:21:24Z","updated_at":"2017-10-18T17:15:21Z","pushed_at":"2017-11-02T01:24:54Z","git_url":"git://github.com/layerhq/Atlas-Android.git","ssh_url":"git@github.com:layerhq/Atlas-Android.git","clone_url":"https://github.com/layerhq/Atlas-Android.git","svn_url":"https://github.com/layerhq/Atlas-Android","homepage":"https://layer.com/","size":29754,"stargazers_count":303,"watchers_count":303,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":160,"mirror_url":null,"archived":false,"open_issues_count":19,"forks":160,"open_issues":19,"watchers":303,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/279"},"html":{"href":"https://github.com/layerhq/Atlas-Android/pull/279"},"issue":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/issues/279"},"comments":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/issues/279/comments"},"review_comments":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/279/comments"},"review_comment":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/pulls/279/commits"},"statuses":{"href":"https://api.github.com/repos/layerhq/Atlas-Android/statuses/be79f336a9d3a1e8007a50f2b457516f9122ac16"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"thecombatwombat"}}