GitHub PullRequestReviewCommentEvent at 2014-07-03 18:17:02
Repository: Diversity
Actor: ashleyjihye4
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/GoogleJump/Diversity/pulls/comments/14529512","id":14529512,"diff_hunk":"@@ -0,0 +1,189 @@\n+package com.parse.starter;\n+\n+import android.app.Activity;\n+import android.content.Intent;\n+import android.view.View;\n+import android.view.View.OnClickListener;\n+import android.os.Bundle;\n+import android.support.v4.view.PagerAdapter;\n+import android.support.v4.view.ViewPager;\n+import android.content.Context;\n+import android.view.LayoutInflater;\n+import android.widget.ImageButton;\n+import android.widget.Button;\n+import android.util.Log;\n+import android.app.AlertDialog;\n+import android.content.DialogInterface;\n+import com.parse.SaveCallback;\n+import com.parse.ParseException;\n+\n+public class PickCharacterActivity extends Activity {\n+\t\n+\tprivate CharacterPagerAdapter pagerAdapter;\n+\tprivate Button mainMenu;\n+\tprivate Context context;\n+\tprivate User currentUser;\n+\t\n+\tpublic void onCreate(Bundle savedInstanceState){\n+\t\tsuper.onCreate(savedInstanceState);\n+\t\tsetContentView(R.layout.viewpager);\n+\t\tcontext = this;\n+\n+\t\t//handling user\n+\t\tcurrentUser = null;\n+\t\tif (User.getCurrentUser() instanceof User){\n+\t\t\tcurrentUser = ((User) User.getCurrentUser());\n+\t\t}\n+\t\tif (currentUser == null) {\n+\t\t\tIntent i = new Intent(this, SignUpOrLogInActivity.class);\n+\t\t\tstartActivity(i);\n+\t\t}\n+\t\t\n+\t\tpagerAdapter = new CharacterPagerAdapter();\n+\t\tViewPager pager = (ViewPager)findViewById(R.id.pager);\n+\t\tpager.setAdapter(pagerAdapter);\n+\n+\t\t\n+\t\t//adding listeners to buttons\n+\t\taddListenerOnMainMenuButton();\n+\t}\n+\n+\t\n+\t/**\n+\t * When the mainMenu Button is pressed, view changes to MainMenuView\n+\t */\n+\tprivate void addListenerOnMainMenuButton() {\n+\t\tmainMenu = (Button) findViewById(R.id.main_menu_pick_character);\n+\t\tmainMenu.setOnClickListener(new OnClickListener() {\n+\t\t\t@Override\n+\t\t\tpublic void onClick(View v) {\n+\t\t\t\tIntent i = new Intent(v.getContext(), MainMenuActivity.class);\n+\t\t\t\tstartActivity(i);\n+\n+\t\t\t}\n+\t\t});\n+\t}\n+\n+\tprivate class CharacterPagerAdapter extends PagerAdapter {\n+\t\t\n+\t\tprivate View v;\n+\t\tprivate ImageButton characterPic;\n+/*\t\t\n+\t\tpublic CharacterPagerAdapter(Context context) {\n+\t\t}\n+\t\t*/\n+\t\t\n+\t\tpublic int getCount() {\n+\t\t\treturn 2;\n+\t\t}\n+\t\t\n+\t\tpublic boolean isViewFromObject(View view, Object object){\n+\t\t\treturn view == object;\n+\t\t}\n+\t\t\n+\t\t public Object instantiateItem(final View collection, final int position) {\n+\t         v = new View(collection.getContext());\n+\t        LayoutInflater inflater =","path":"ParseStarterProject/src/com/parse/starter/PickCharacterActivity.java","position":86,"original_position":86,"commit_id":"07ab00f0ad564c49c04a2221612a287c1d7545cf","original_commit_id":"07ab00f0ad564c49c04a2221612a287c1d7545cf","user":{"login":"ashleyjihye4","id":5643584,"avatar_url":"https://avatars.githubusercontent.com/u/5643584?","gravatar_id":"91218bdaacfcd83475f7312b4fc4b532","url":"https://api.github.com/users/ashleyjihye4","html_url":"https://github.com/ashleyjihye4","followers_url":"https://api.github.com/users/ashleyjihye4/followers","following_url":"https://api.github.com/users/ashleyjihye4/following{/other_user}","gists_url":"https://api.github.com/users/ashleyjihye4/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleyjihye4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleyjihye4/subscriptions","organizations_url":"https://api.github.com/users/ashleyjihye4/orgs","repos_url":"https://api.github.com/users/ashleyjihye4/repos","events_url":"https://api.github.com/users/ashleyjihye4/events{/privacy}","received_events_url":"https://api.github.com/users/ashleyjihye4/received_events","type":"User","site_admin":false},"body":"Okay","created_at":"2014-07-03T18:17:02Z","updated_at":"2014-07-03T18:17:02Z","html_url":"https://github.com/GoogleJump/Diversity/pull/36#discussion_r14529512","pull_request_url":"https://api.github.com/repos/GoogleJump/Diversity/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/GoogleJump/Diversity/pulls/comments/14529512"},"html":{"href":"https://github.com/GoogleJump/Diversity/pull/36#discussion_r14529512"},"pull_request":{"href":"https://api.github.com/repos/GoogleJump/Diversity/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleJump/Diversity/pulls/36","id":17808794,"html_url":"https://github.com/GoogleJump/Diversity/pull/36","diff_url":"https://github.com/GoogleJump/Diversity/pull/36.diff","patch_url":"https://github.com/GoogleJump/Diversity/pull/36.patch","issue_url":"https://api.github.com/repos/GoogleJump/Diversity/issues/36","number":36,"state":"open","title":"Trying to fix PickCharacterActivity.java","user":{"login":"ashleyjihye4","id":5643584,"avatar_url":"https://avatars.githubusercontent.com/u/5643584?","gravatar_id":"91218bdaacfcd83475f7312b4fc4b532","url":"https://api.github.com/users/ashleyjihye4","html_url":"https://github.com/ashleyjihye4","followers_url":"https://api.github.com/users/ashleyjihye4/followers","following_url":"https://api.github.com/users/ashleyjihye4/following{/other_user}","gists_url":"https://api.github.com/users/ashleyjihye4/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleyjihye4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleyjihye4/subscriptions","organizations_url":"https://api.github.com/users/ashleyjihye4/orgs","repos_url":"https://api.github.com/users/ashleyjihye4/repos","events_url":"https://api.github.com/users/ashleyjihye4/events{/privacy}","received_events_url":"https://api.github.com/users/ashleyjihye4/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-07-01T02:05:05Z","updated_at":"2014-07-03T18:17:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleJump/Diversity/pulls/36/commits","review_comments_url":"https://api.github.com/repos/GoogleJump/Diversity/pulls/36/comments","review_comment_url":"https://api.github.com/repos/GoogleJump/Diversity/pulls/comments/{number}","comments_url":"https://api.github.com/repos/GoogleJump/Diversity/issues/36/comments","statuses_url":"https://api.github.com/repos/GoogleJump/Diversity/statuses/07ab00f0ad564c49c04a2221612a287c1d7545cf","head":{"label":"ashleyjihye4:master","ref":"master","sha":"07ab00f0ad564c49c04a2221612a287c1d7545cf","user":{"login":"ashleyjihye4","id":5643584,"avatar_url":"https://avatars.githubusercontent.com/u/5643584?","gravatar_id":"91218bdaacfcd83475f7312b4fc4b532","url":"https://api.github.com/users/ashleyjihye4","html_url":"https://github.com/ashleyjihye4","followers_url":"https://api.github.com/users/ashleyjihye4/followers","following_url":"https://api.github.com/users/ashleyjihye4/following{/other_user}","gists_url":"https://api.github.com/users/ashleyjihye4/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleyjihye4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleyjihye4/subscriptions","organizations_url":"https://api.github.com/users/ashleyjihye4/orgs","repos_url":"https://api.github.com/users/ashleyjihye4/repos","events_url":"https://api.github.com/users/ashleyjihye4/events{/privacy}","received_events_url":"https://api.github.com/users/ashleyjihye4/received_events","type":"User","site_admin":false},"repo":{"id":20769230,"name":"Diversity","full_name":"ashleyjihye4/Diversity","owner":{"login":"ashleyjihye4","id":5643584,"avatar_url":"https://avatars.githubusercontent.com/u/5643584?","gravatar_id":"91218bdaacfcd83475f7312b4fc4b532","url":"https://api.github.com/users/ashleyjihye4","html_url":"https://github.com/ashleyjihye4","followers_url":"https://api.github.com/users/ashleyjihye4/followers","following_url":"https://api.github.com/users/ashleyjihye4/following{/other_user}","gists_url":"https://api.github.com/users/ashleyjihye4/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleyjihye4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleyjihye4/subscriptions","organizations_url":"https://api.github.com/users/ashleyjihye4/orgs","repos_url":"https://api.github.com/users/ashleyjihye4/repos","events_url":"https://api.github.com/users/ashleyjihye4/events{/privacy}","received_events_url":"https://api.github.com/users/ashleyjihye4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashleyjihye4/Diversity","description":"Team Diversity's repo","fork":true,"url":"https://api.github.com/repos/ashleyjihye4/Diversity","forks_url":"https://api.github.com/repos/ashleyjihye4/Diversity/forks","keys_url":"https://api.github.com/repos/ashleyjihye4/Diversity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashleyjihye4/Diversity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashleyjihye4/Diversity/teams","hooks_url":"https://api.github.com/repos/ashleyjihye4/Diversity/hooks","issue_events_url":"https://api.github.com/repos/ashleyjihye4/Diversity/issues/events{/number}","events_url":"https://api.github.com/repos/ashleyjihye4/Diversity/events","assignees_url":"https://api.github.com/repos/ashleyjihye4/Diversity/assignees{/user}","branches_url":"https://api.github.com/repos/ashleyjihye4/Diversity/branches{/branch}","tags_url":"https://api.github.com/repos/ashleyjihye4/Diversity/tags","blobs_url":"https://api.github.com/repos/ashleyjihye4/Diversity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashleyjihye4/Diversity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashleyjihye4/Diversity/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashleyjihye4/Diversity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashleyjihye4/Diversity/statuses/{sha}","languages_url":"https://api.github.com/repos/ashleyjihye4/Diversity/languages","stargazers_url":"https://api.github.com/repos/ashleyjihye4/Diversity/stargazers","contributors_url":"https://api.github.com/repos/ashleyjihye4/Diversity/contributors","subscribers_url":"https://api.github.com/repos/ashleyjihye4/Diversity/subscribers","subscription_url":"https://api.github.com/repos/ashleyjihye4/Diversity/subscription","commits_url":"https://api.github.com/repos/ashleyjihye4/Diversity/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashleyjihye4/Diversity/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashleyjihye4/Diversity/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashleyjihye4/Diversity/issues/comments/{number}","contents_url":"https://api.github.com/repos/ashleyjihye4/Diversity/contents/{+path}","compare_url":"https://api.github.com/repos/ashleyjihye4/Diversity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashleyjihye4/Diversity/merges","archive_url":"https://api.github.com/repos/ashleyjihye4/Diversity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashleyjihye4/Diversity/downloads","issues_url":"https://api.github.com/repos/ashleyjihye4/Diversity/issues{/number}","pulls_url":"https://api.github.com/repos/ashleyjihye4/Diversity/pulls{/number}","milestones_url":"https://api.github.com/repos/ashleyjihye4/Diversity/milestones{/number}","notifications_url":"https://api.github.com/repos/ashleyjihye4/Diversity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashleyjihye4/Diversity/labels{/name}","releases_url":"https://api.github.com/repos/ashleyjihye4/Diversity/releases{/id}","created_at":"2014-06-12T13:56:45Z","updated_at":"2014-07-01T02:03:31Z","pushed_at":"2014-07-01T02:03:31Z","git_url":"git://github.com/ashleyjihye4/Diversity.git","ssh_url":"git@github.com:ashleyjihye4/Diversity.git","clone_url":"https://github.com/ashleyjihye4/Diversity.git","svn_url":"https://github.com/ashleyjihye4/Diversity","homepage":null,"size":15276,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleJump:master","ref":"master","sha":"28bdd2eb568039046480847c790e0109c70b4079","user":{"login":"GoogleJump","id":6677002,"avatar_url":"https://avatars.githubusercontent.com/u/6677002?","gravatar_id":null,"url":"https://api.github.com/users/GoogleJump","html_url":"https://github.com/GoogleJump","followers_url":"https://api.github.com/users/GoogleJump/followers","following_url":"https://api.github.com/users/GoogleJump/following{/other_user}","gists_url":"https://api.github.com/users/GoogleJump/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleJump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleJump/subscriptions","organizations_url":"https://api.github.com/users/GoogleJump/orgs","repos_url":"https://api.github.com/users/GoogleJump/repos","events_url":"https://api.github.com/users/GoogleJump/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleJump/received_events","type":"Organization","site_admin":false},"repo":{"id":17376648,"name":"Diversity","full_name":"GoogleJump/Diversity","owner":{"login":"GoogleJump","id":6677002,"avatar_url":"https://avatars.githubusercontent.com/u/6677002?","gravatar_id":null,"url":"https://api.github.com/users/GoogleJump","html_url":"https://github.com/GoogleJump","followers_url":"https://api.github.com/users/GoogleJump/followers","following_url":"https://api.github.com/users/GoogleJump/following{/other_user}","gists_url":"https://api.github.com/users/GoogleJump/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleJump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleJump/subscriptions","organizations_url":"https://api.github.com/users/GoogleJump/orgs","repos_url":"https://api.github.com/users/GoogleJump/repos","events_url":"https://api.github.com/users/GoogleJump/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleJump/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleJump/Diversity","description":"Team Diversity's repo","fork":false,"url":"https://api.github.com/repos/GoogleJump/Diversity","forks_url":"https://api.github.com/repos/GoogleJump/Diversity/forks","keys_url":"https://api.github.com/repos/GoogleJump/Diversity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleJump/Diversity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleJump/Diversity/teams","hooks_url":"https://api.github.com/repos/GoogleJump/Diversity/hooks","issue_events_url":"https://api.github.com/repos/GoogleJump/Diversity/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleJump/Diversity/events","assignees_url":"https://api.github.com/repos/GoogleJump/Diversity/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleJump/Diversity/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleJump/Diversity/tags","blobs_url":"https://api.github.com/repos/GoogleJump/Diversity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleJump/Diversity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleJump/Diversity/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleJump/Diversity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleJump/Diversity/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleJump/Diversity/languages","stargazers_url":"https://api.github.com/repos/GoogleJump/Diversity/stargazers","contributors_url":"https://api.github.com/repos/GoogleJump/Diversity/contributors","subscribers_url":"https://api.github.com/repos/GoogleJump/Diversity/subscribers","subscription_url":"https://api.github.com/repos/GoogleJump/Diversity/subscription","commits_url":"https://api.github.com/repos/GoogleJump/Diversity/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleJump/Diversity/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleJump/Diversity/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleJump/Diversity/issues/comments/{number}","contents_url":"https://api.github.com/repos/GoogleJump/Diversity/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleJump/Diversity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleJump/Diversity/merges","archive_url":"https://api.github.com/repos/GoogleJump/Diversity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleJump/Diversity/downloads","issues_url":"https://api.github.com/repos/GoogleJump/Diversity/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleJump/Diversity/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleJump/Diversity/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleJump/Diversity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleJump/Diversity/labels{/name}","releases_url":"https://api.github.com/repos/GoogleJump/Diversity/releases{/id}","created_at":"2014-03-03T19:11:33Z","updated_at":"2014-06-27T01:25:35Z","pushed_at":"2014-07-01T01:09:56Z","git_url":"git://github.com/GoogleJump/Diversity.git","ssh_url":"git@github.com:GoogleJump/Diversity.git","clone_url":"https://github.com/GoogleJump/Diversity.git","svn_url":"https://github.com/GoogleJump/Diversity","homepage":null,"size":40090,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleJump/Diversity/pulls/36"},"html":{"href":"https://github.com/GoogleJump/Diversity/pull/36"},"issue":{"href":"https://api.github.com/repos/GoogleJump/Diversity/issues/36"},"comments":{"href":"https://api.github.com/repos/GoogleJump/Diversity/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleJump/Diversity/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleJump/Diversity/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/GoogleJump/Diversity/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleJump/Diversity/statuses/07ab00f0ad564c49c04a2221612a287c1d7545cf"}}}}