{"action":"created","comment":{"url":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/comments/26003532","id":26003532,"diff_hunk":"@@ -0,0 +1,199 @@\n+package com.iic.mokojin;\n+\n+import android.content.Context;\n+import android.os.Bundle;\n+import android.support.annotation.Nullable;\n+import android.support.v4.app.Fragment;\n+import android.support.v7.app.ActionBarActivity;\n+import android.util.Log;\n+import android.view.LayoutInflater;\n+import android.view.Menu;\n+import android.view.MenuInflater;\n+import android.view.MenuItem;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.widget.EditText;\n+import android.widget.ListView;\n+import android.widget.TextView;\n+\n+import com.iic.mokojin.models.Person;\n+import com.iic.mokojin.models.Player;\n+import com.iic.mokojin.operations.CreatePersonOperation;\n+import com.iic.mokojin.operations.JoinQueueOperation;\n+import com.parse.ParseQuery;\n+import com.parse.ParseQueryAdapter;\n+\n+import bolts.Continuation;\n+import bolts.Task;\n+import butterknife.ButterKnife;\n+import butterknife.InjectView;\n+import butterknife.OnItemClick;\n+\n+\n+public class AddPlayerActivity extends ActionBarActivity {\n+\n+    private static final String LOG_TAG = AddPlayerActivity.class.getName();\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_add_player);\n+        if (savedInstanceState == null) {\n+            getSupportFragmentManager().beginTransaction()\n+                    .add(R.id.container, new AddPlayerFragment())\n+                    .commit();\n+        }\n+    }\n+\n+\n+\n+    public static class AddPlayerFragment extends Fragment {\n+\n+        private ParseQueryAdapter<Person> mAdapter;\n+\n+        public AddPlayerFragment() {\n+            setHasOptionsMenu(true);\n+        }\n+\n+        @InjectView(R.id.people_list_view) ListView mPeopleListView;\n+        @InjectView(R.id.person_name_edittext) EditText mPersonNAmeEditText;","path":"app/src/main/java/com/iic/mokojin/AddPlayerActivity.java","position":59,"original_position":59,"commit_id":"6e9d66baff7a8ad2fbf9769632d4240dca4f9f3b","original_commit_id":"27e79157010559caf50009d95ef4efbcf395a2c2","user":{"login":"giladgo","id":1915716,"avatar_url":"https://avatars.githubusercontent.com/u/1915716?v=3","gravatar_id":"","url":"https://api.github.com/users/giladgo","html_url":"https://github.com/giladgo","followers_url":"https://api.github.com/users/giladgo/followers","following_url":"https://api.github.com/users/giladgo/following{/other_user}","gists_url":"https://api.github.com/users/giladgo/gists{/gist_id}","starred_url":"https://api.github.com/users/giladgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giladgo/subscriptions","organizations_url":"https://api.github.com/users/giladgo/orgs","repos_url":"https://api.github.com/users/giladgo/repos","events_url":"https://api.github.com/users/giladgo/events{/privacy}","received_events_url":"https://api.github.com/users/giladgo/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2015-03-08T09:00:21Z","updated_at":"2015-03-08T09:00:21Z","html_url":"https://github.com/iic-ninjas/mokojin/pull/28#discussion_r26003532","pull_request_url":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/comments/26003532"},"html":{"href":"https://github.com/iic-ninjas/mokojin/pull/28#discussion_r26003532"},"pull_request":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/28","id":30716812,"html_url":"https://github.com/iic-ninjas/mokojin/pull/28","diff_url":"https://github.com/iic-ninjas/mokojin/pull/28.diff","patch_url":"https://github.com/iic-ninjas/mokojin/pull/28.patch","issue_url":"https://api.github.com/repos/iic-ninjas/mokojin/issues/28","number":28,"state":"open","locked":false,"title":"Add player","user":{"login":"giladgo","id":1915716,"avatar_url":"https://avatars.githubusercontent.com/u/1915716?v=3","gravatar_id":"","url":"https://api.github.com/users/giladgo","html_url":"https://github.com/giladgo","followers_url":"https://api.github.com/users/giladgo/followers","following_url":"https://api.github.com/users/giladgo/following{/other_user}","gists_url":"https://api.github.com/users/giladgo/gists{/gist_id}","starred_url":"https://api.github.com/users/giladgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giladgo/subscriptions","organizations_url":"https://api.github.com/users/giladgo/orgs","repos_url":"https://api.github.com/users/giladgo/repos","events_url":"https://api.github.com/users/giladgo/events{/privacy}","received_events_url":"https://api.github.com/users/giladgo/received_events","type":"User","site_admin":false},"body":"![add_player](https://cloud.githubusercontent.com/assets/1915716/6545175/9267ed2c-c581-11e4-8bcb-f4597d7ae27a.gif)\r\n","created_at":"2015-03-08T08:50:17Z","updated_at":"2015-03-08T09:00:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afcf532976ae9d80bad84f328f18562e52d9ea18","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/28/commits","review_comments_url":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/28/comments","review_comment_url":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iic-ninjas/mokojin/issues/28/comments","statuses_url":"https://api.github.com/repos/iic-ninjas/mokojin/statuses/6e9d66baff7a8ad2fbf9769632d4240dca4f9f3b","head":{"label":"iic-ninjas:add_player","ref":"add_player","sha":"6e9d66baff7a8ad2fbf9769632d4240dca4f9f3b","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":31545332,"name":"mokojin","full_name":"iic-ninjas/mokojin","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/mokojin","description":"Tekken Queue Manager","fork":false,"url":"https://api.github.com/repos/iic-ninjas/mokojin","forks_url":"https://api.github.com/repos/iic-ninjas/mokojin/forks","keys_url":"https://api.github.com/repos/iic-ninjas/mokojin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iic-ninjas/mokojin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iic-ninjas/mokojin/teams","hooks_url":"https://api.github.com/repos/iic-ninjas/mokojin/hooks","issue_events_url":"https://api.github.com/repos/iic-ninjas/mokojin/issues/events{/number}","events_url":"https://api.github.com/repos/iic-ninjas/mokojin/events","assignees_url":"https://api.github.com/repos/iic-ninjas/mokojin/assignees{/user}","branches_url":"https://api.github.com/repos/iic-ninjas/mokojin/branches{/branch}","tags_url":"https://api.github.com/repos/iic-ninjas/mokojin/tags","blobs_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/refs{/sha}","trees_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iic-ninjas/mokojin/statuses/{sha}","languages_url":"https://api.github.com/repos/iic-ninjas/mokojin/languages","stargazers_url":"https://api.github.com/repos/iic-ninjas/mokojin/stargazers","contributors_url":"https://api.github.com/repos/iic-ninjas/mokojin/contributors","subscribers_url":"https://api.github.com/repos/iic-ninjas/mokojin/subscribers","subscription_url":"https://api.github.com/repos/iic-ninjas/mokojin/subscription","commits_url":"https://api.github.com/repos/iic-ninjas/mokojin/commits{/sha}","git_commits_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/commits{/sha}","comments_url":"https://api.github.com/repos/iic-ninjas/mokojin/comments{/number}","issue_comment_url":"https://api.github.com/repos/iic-ninjas/mokojin/issues/comments{/number}","contents_url":"https://api.github.com/repos/iic-ninjas/mokojin/contents/{+path}","compare_url":"https://api.github.com/repos/iic-ninjas/mokojin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iic-ninjas/mokojin/merges","archive_url":"https://api.github.com/repos/iic-ninjas/mokojin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iic-ninjas/mokojin/downloads","issues_url":"https://api.github.com/repos/iic-ninjas/mokojin/issues{/number}","pulls_url":"https://api.github.com/repos/iic-ninjas/mokojin/pulls{/number}","milestones_url":"https://api.github.com/repos/iic-ninjas/mokojin/milestones{/number}","notifications_url":"https://api.github.com/repos/iic-ninjas/mokojin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iic-ninjas/mokojin/labels{/name}","releases_url":"https://api.github.com/repos/iic-ninjas/mokojin/releases{/id}","created_at":"2015-03-02T14:54:09Z","updated_at":"2015-03-08T08:32:28Z","pushed_at":"2015-03-08T08:51:42Z","git_url":"git://github.com/iic-ninjas/mokojin.git","ssh_url":"git@github.com:iic-ninjas/mokojin.git","clone_url":"https://github.com/iic-ninjas/mokojin.git","svn_url":"https://github.com/iic-ninjas/mokojin","homepage":"","size":2844,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"iic-ninjas:master","ref":"master","sha":"d162bc6a01a5659039877d84f53bdeff3cc6d0ab","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":31545332,"name":"mokojin","full_name":"iic-ninjas/mokojin","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/mokojin","description":"Tekken Queue Manager","fork":false,"url":"https://api.github.com/repos/iic-ninjas/mokojin","forks_url":"https://api.github.com/repos/iic-ninjas/mokojin/forks","keys_url":"https://api.github.com/repos/iic-ninjas/mokojin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iic-ninjas/mokojin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iic-ninjas/mokojin/teams","hooks_url":"https://api.github.com/repos/iic-ninjas/mokojin/hooks","issue_events_url":"https://api.github.com/repos/iic-ninjas/mokojin/issues/events{/number}","events_url":"https://api.github.com/repos/iic-ninjas/mokojin/events","assignees_url":"https://api.github.com/repos/iic-ninjas/mokojin/assignees{/user}","branches_url":"https://api.github.com/repos/iic-ninjas/mokojin/branches{/branch}","tags_url":"https://api.github.com/repos/iic-ninjas/mokojin/tags","blobs_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/refs{/sha}","trees_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iic-ninjas/mokojin/statuses/{sha}","languages_url":"https://api.github.com/repos/iic-ninjas/mokojin/languages","stargazers_url":"https://api.github.com/repos/iic-ninjas/mokojin/stargazers","contributors_url":"https://api.github.com/repos/iic-ninjas/mokojin/contributors","subscribers_url":"https://api.github.com/repos/iic-ninjas/mokojin/subscribers","subscription_url":"https://api.github.com/repos/iic-ninjas/mokojin/subscription","commits_url":"https://api.github.com/repos/iic-ninjas/mokojin/commits{/sha}","git_commits_url":"https://api.github.com/repos/iic-ninjas/mokojin/git/commits{/sha}","comments_url":"https://api.github.com/repos/iic-ninjas/mokojin/comments{/number}","issue_comment_url":"https://api.github.com/repos/iic-ninjas/mokojin/issues/comments{/number}","contents_url":"https://api.github.com/repos/iic-ninjas/mokojin/contents/{+path}","compare_url":"https://api.github.com/repos/iic-ninjas/mokojin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iic-ninjas/mokojin/merges","archive_url":"https://api.github.com/repos/iic-ninjas/mokojin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iic-ninjas/mokojin/downloads","issues_url":"https://api.github.com/repos/iic-ninjas/mokojin/issues{/number}","pulls_url":"https://api.github.com/repos/iic-ninjas/mokojin/pulls{/number}","milestones_url":"https://api.github.com/repos/iic-ninjas/mokojin/milestones{/number}","notifications_url":"https://api.github.com/repos/iic-ninjas/mokojin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iic-ninjas/mokojin/labels{/name}","releases_url":"https://api.github.com/repos/iic-ninjas/mokojin/releases{/id}","created_at":"2015-03-02T14:54:09Z","updated_at":"2015-03-08T08:32:28Z","pushed_at":"2015-03-08T08:51:42Z","git_url":"git://github.com/iic-ninjas/mokojin.git","ssh_url":"git@github.com:iic-ninjas/mokojin.git","clone_url":"https://github.com/iic-ninjas/mokojin.git","svn_url":"https://github.com/iic-ninjas/mokojin","homepage":"","size":2844,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/28"},"html":{"href":"https://github.com/iic-ninjas/mokojin/pull/28"},"issue":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/issues/28"},"comments":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/iic-ninjas/mokojin/statuses/6e9d66baff7a8ad2fbf9769632d4240dca4f9f3b"}}}}