{"action":"created","comment":{"url":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/comments/25804686","id":25804686,"diff_hunk":"@@ -0,0 +1,103 @@\n+package com.iic.shopingo.ui.request_flow.views;\n+\n+import android.app.Activity;\n+import android.content.Context;\n+import android.util.AttributeSet;\n+import android.view.KeyEvent;\n+import android.view.LayoutInflater;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.view.WindowManager;\n+import android.view.inputmethod.EditorInfo;\n+import android.widget.Button;\n+import android.widget.EditText;\n+import android.widget.LinearLayout;\n+import butterknife.ButterKnife;\n+import butterknife.InjectView;\n+import butterknife.OnClick;\n+import butterknife.OnEditorAction;\n+import butterknife.OnFocusChange;\n+import com.iic.shopingo.R;\n+\n+/**\n+ * Created by assafgelber on 3/4/15.\n+ */\n+public class CreateRequestListItemView extends LinearLayout {\n+  @InjectView(R.id.create_request_item_title)\n+  EditText titleView;\n+\n+  @InjectView(R.id.create_request_remove_button)\n+  Button removeButton;\n+\n+  public CreateRequestListItemView(Context context) {\n+    super(context);\n+    init();\n+  }\n+\n+  public CreateRequestListItemView(Context context, AttributeSet attrs, int defStyleAttr) {\n+    super(context, attrs, defStyleAttr);\n+    init();\n+  }\n+\n+  public CreateRequestListItemView(Context context, AttributeSet attrs) {\n+    super(context, attrs);\n+    init();\n+  }\n+\n+  public static CreateRequestListItemView inflate(ViewGroup parent) {\n+    CreateRequestListItemView itemView = (CreateRequestListItemView) LayoutInflater.from(parent.getContext())\n+        .inflate(R.layout.create_request_list_item, parent, false);\n+    return itemView;\n+  }\n+\n+  private void init() {\n+    LayoutInflater.from(getContext()).inflate(R.layout.create_request_list_item_children, this, true);","path":"app/src/main/java/com/iic/shopingo/ui/request_flow/Views/CreateRequestListItemView.java","position":54,"original_position":54,"commit_id":"53e40cd85b6932eb781949a9d949d925df57a73b","original_commit_id":"53e40cd85b6932eb781949a9d949d925df57a73b","user":{"login":"ifeins","id":1324361,"avatar_url":"https://avatars.githubusercontent.com/u/1324361?v=3","gravatar_id":"","url":"https://api.github.com/users/ifeins","html_url":"https://github.com/ifeins","followers_url":"https://api.github.com/users/ifeins/followers","following_url":"https://api.github.com/users/ifeins/following{/other_user}","gists_url":"https://api.github.com/users/ifeins/gists{/gist_id}","starred_url":"https://api.github.com/users/ifeins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifeins/subscriptions","organizations_url":"https://api.github.com/users/ifeins/orgs","repos_url":"https://api.github.com/users/ifeins/repos","events_url":"https://api.github.com/users/ifeins/events{/privacy}","received_events_url":"https://api.github.com/users/ifeins/received_events","type":"User","site_admin":false},"body":"I just went over the blog post you sent me and I see no reason for having two layouts, you can nest the EditText and Button in the `R.layout.create_request_list_item` layout.\r\n","created_at":"2015-03-04T19:24:22Z","updated_at":"2015-03-04T19:24:22Z","html_url":"https://github.com/iic-ninjas/shopingo/pull/6#discussion_r25804686","pull_request_url":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/comments/25804686"},"html":{"href":"https://github.com/iic-ninjas/shopingo/pull/6#discussion_r25804686"},"pull_request":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/6","id":30466341,"html_url":"https://github.com/iic-ninjas/shopingo/pull/6","diff_url":"https://github.com/iic-ninjas/shopingo/pull/6.diff","patch_url":"https://github.com/iic-ninjas/shopingo/pull/6.patch","issue_url":"https://api.github.com/repos/iic-ninjas/shopingo/issues/6","number":6,"state":"open","locked":false,"title":"Add CreateRequest Activity and connect the whole flow","user":{"login":"agelber","id":2394509,"avatar_url":"https://avatars.githubusercontent.com/u/2394509?v=3","gravatar_id":"","url":"https://api.github.com/users/agelber","html_url":"https://github.com/agelber","followers_url":"https://api.github.com/users/agelber/followers","following_url":"https://api.github.com/users/agelber/following{/other_user}","gists_url":"https://api.github.com/users/agelber/gists{/gist_id}","starred_url":"https://api.github.com/users/agelber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agelber/subscriptions","organizations_url":"https://api.github.com/users/agelber/orgs","repos_url":"https://api.github.com/users/agelber/repos","events_url":"https://api.github.com/users/agelber/events{/privacy}","received_events_url":"https://api.github.com/users/agelber/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-04T13:52:45Z","updated_at":"2015-03-04T19:24:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0262939d71997f4518cd23c09f662663bf397437","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/6/commits","review_comments_url":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/6/comments","review_comment_url":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iic-ninjas/shopingo/issues/6/comments","statuses_url":"https://api.github.com/repos/iic-ninjas/shopingo/statuses/53e40cd85b6932eb781949a9d949d925df57a73b","head":{"label":"iic-ninjas:create-request-activity","ref":"create-request-activity","sha":"53e40cd85b6932eb781949a9d949d925df57a73b","user":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"repo":{"id":31590540,"name":"shopingo","full_name":"iic-ninjas/shopingo","owner":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iic-ninjas/shopingo","description":"","fork":false,"url":"https://api.github.com/repos/iic-ninjas/shopingo","forks_url":"https://api.github.com/repos/iic-ninjas/shopingo/forks","keys_url":"https://api.github.com/repos/iic-ninjas/shopingo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iic-ninjas/shopingo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iic-ninjas/shopingo/teams","hooks_url":"https://api.github.com/repos/iic-ninjas/shopingo/hooks","issue_events_url":"https://api.github.com/repos/iic-ninjas/shopingo/issues/events{/number}","events_url":"https://api.github.com/repos/iic-ninjas/shopingo/events","assignees_url":"https://api.github.com/repos/iic-ninjas/shopingo/assignees{/user}","branches_url":"https://api.github.com/repos/iic-ninjas/shopingo/branches{/branch}","tags_url":"https://api.github.com/repos/iic-ninjas/shopingo/tags","blobs_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/refs{/sha}","trees_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iic-ninjas/shopingo/statuses/{sha}","languages_url":"https://api.github.com/repos/iic-ninjas/shopingo/languages","stargazers_url":"https://api.github.com/repos/iic-ninjas/shopingo/stargazers","contributors_url":"https://api.github.com/repos/iic-ninjas/shopingo/contributors","subscribers_url":"https://api.github.com/repos/iic-ninjas/shopingo/subscribers","subscription_url":"https://api.github.com/repos/iic-ninjas/shopingo/subscription","commits_url":"https://api.github.com/repos/iic-ninjas/shopingo/commits{/sha}","git_commits_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/commits{/sha}","comments_url":"https://api.github.com/repos/iic-ninjas/shopingo/comments{/number}","issue_comment_url":"https://api.github.com/repos/iic-ninjas/shopingo/issues/comments{/number}","contents_url":"https://api.github.com/repos/iic-ninjas/shopingo/contents/{+path}","compare_url":"https://api.github.com/repos/iic-ninjas/shopingo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iic-ninjas/shopingo/merges","archive_url":"https://api.github.com/repos/iic-ninjas/shopingo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iic-ninjas/shopingo/downloads","issues_url":"https://api.github.com/repos/iic-ninjas/shopingo/issues{/number}","pulls_url":"https://api.github.com/repos/iic-ninjas/shopingo/pulls{/number}","milestones_url":"https://api.github.com/repos/iic-ninjas/shopingo/milestones{/number}","notifications_url":"https://api.github.com/repos/iic-ninjas/shopingo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iic-ninjas/shopingo/labels{/name}","releases_url":"https://api.github.com/repos/iic-ninjas/shopingo/releases{/id}","created_at":"2015-03-03T09:37:11Z","updated_at":"2015-03-04T14:04:37Z","pushed_at":"2015-03-04T15:20:34Z","git_url":"git://github.com/iic-ninjas/shopingo.git","ssh_url":"git@github.com:iic-ninjas/shopingo.git","clone_url":"https://github.com/iic-ninjas/shopingo.git","svn_url":"https://github.com/iic-ninjas/shopingo","homepage":null,"size":444,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"iic-ninjas:master","ref":"master","sha":"df7038a22354b01eed444fe9ffa37709109a9d38","user":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"repo":{"id":31590540,"name":"shopingo","full_name":"iic-ninjas/shopingo","owner":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iic-ninjas/shopingo","description":"","fork":false,"url":"https://api.github.com/repos/iic-ninjas/shopingo","forks_url":"https://api.github.com/repos/iic-ninjas/shopingo/forks","keys_url":"https://api.github.com/repos/iic-ninjas/shopingo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iic-ninjas/shopingo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iic-ninjas/shopingo/teams","hooks_url":"https://api.github.com/repos/iic-ninjas/shopingo/hooks","issue_events_url":"https://api.github.com/repos/iic-ninjas/shopingo/issues/events{/number}","events_url":"https://api.github.com/repos/iic-ninjas/shopingo/events","assignees_url":"https://api.github.com/repos/iic-ninjas/shopingo/assignees{/user}","branches_url":"https://api.github.com/repos/iic-ninjas/shopingo/branches{/branch}","tags_url":"https://api.github.com/repos/iic-ninjas/shopingo/tags","blobs_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/refs{/sha}","trees_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iic-ninjas/shopingo/statuses/{sha}","languages_url":"https://api.github.com/repos/iic-ninjas/shopingo/languages","stargazers_url":"https://api.github.com/repos/iic-ninjas/shopingo/stargazers","contributors_url":"https://api.github.com/repos/iic-ninjas/shopingo/contributors","subscribers_url":"https://api.github.com/repos/iic-ninjas/shopingo/subscribers","subscription_url":"https://api.github.com/repos/iic-ninjas/shopingo/subscription","commits_url":"https://api.github.com/repos/iic-ninjas/shopingo/commits{/sha}","git_commits_url":"https://api.github.com/repos/iic-ninjas/shopingo/git/commits{/sha}","comments_url":"https://api.github.com/repos/iic-ninjas/shopingo/comments{/number}","issue_comment_url":"https://api.github.com/repos/iic-ninjas/shopingo/issues/comments{/number}","contents_url":"https://api.github.com/repos/iic-ninjas/shopingo/contents/{+path}","compare_url":"https://api.github.com/repos/iic-ninjas/shopingo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iic-ninjas/shopingo/merges","archive_url":"https://api.github.com/repos/iic-ninjas/shopingo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iic-ninjas/shopingo/downloads","issues_url":"https://api.github.com/repos/iic-ninjas/shopingo/issues{/number}","pulls_url":"https://api.github.com/repos/iic-ninjas/shopingo/pulls{/number}","milestones_url":"https://api.github.com/repos/iic-ninjas/shopingo/milestones{/number}","notifications_url":"https://api.github.com/repos/iic-ninjas/shopingo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iic-ninjas/shopingo/labels{/name}","releases_url":"https://api.github.com/repos/iic-ninjas/shopingo/releases{/id}","created_at":"2015-03-03T09:37:11Z","updated_at":"2015-03-04T14:04:37Z","pushed_at":"2015-03-04T15:20:34Z","git_url":"git://github.com/iic-ninjas/shopingo.git","ssh_url":"git@github.com:iic-ninjas/shopingo.git","clone_url":"https://github.com/iic-ninjas/shopingo.git","svn_url":"https://github.com/iic-ninjas/shopingo","homepage":null,"size":444,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/6"},"html":{"href":"https://github.com/iic-ninjas/shopingo/pull/6"},"issue":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/issues/6"},"comments":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/iic-ninjas/shopingo/statuses/53e40cd85b6932eb781949a9d949d925df57a73b"}}}}