{"action":"created","comment":{"url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/comments/191109514","pull_request_review_id":123611682,"id":191109514,"diff_hunk":"@@ -0,0 +1,66 @@\n+package com.example.caraquri.bookmanager_android;\n+\n+import android.content.Intent;\n+import android.support.v4.app.AppLaunchChecker;\n+import android.support.v7.app.AppCompatActivity;\n+import android.os.Bundle;\n+import android.support.v7.widget.Toolbar;\n+import android.util.Log;\n+import android.view.MotionEvent;\n+import android.view.View;\n+import android.widget.Button;\n+import android.widget.LinearLayout;\n+import android.widget.TextView;\n+\n+public class SignInActivity extends AppCompatActivity {\n+    private LinearLayout linearLayout;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_sign_in);\n+\n+        Toolbar toolbar = findViewById(R.id.signin_toolbar);\n+        setSupportActionBar(toolbar);\n+\n+        checkFirstLaunch();\n+\n+        Button loginButton = findViewById(R.id.signin_login_button);\n+        loginButton.setOnClickListener(new View.OnClickListener(){\n+            @Override\n+            public void onClick(View v) {\n+                Intent intent = new Intent(getApplicationContext(), HomeActivity.class);","path":"app/src/main/java/com/example/caraquri/bookmanager_android/SignInActivity.java","position":32,"original_position":32,"commit_id":"1a584f4c1a3d02fad4fe465ebdfe39cb4fe1f3db","original_commit_id":"1a584f4c1a3d02fad4fe465ebdfe39cb4fe1f3db","user":{"login":"yiino-cq","id":7564268,"avatar_url":"https://avatars1.githubusercontent.com/u/7564268?v=4","gravatar_id":"","url":"https://api.github.com/users/yiino-cq","html_url":"https://github.com/yiino-cq","followers_url":"https://api.github.com/users/yiino-cq/followers","following_url":"https://api.github.com/users/yiino-cq/following{/other_user}","gists_url":"https://api.github.com/users/yiino-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/yiino-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiino-cq/subscriptions","organizations_url":"https://api.github.com/users/yiino-cq/orgs","repos_url":"https://api.github.com/users/yiino-cq/repos","events_url":"https://api.github.com/users/yiino-cq/events{/privacy}","received_events_url":"https://api.github.com/users/yiino-cq/received_events","type":"User","site_admin":false},"body":"ApplicationContextが明示的に必要でない場合(とりあえずContextが欲しい場合)は `this`の方を使用するほうがベターです。new Intent()に限って言えばどちらでも動作には変わりありません","created_at":"2018-05-28T04:35:11Z","updated_at":"2018-05-28T04:40:22Z","html_url":"https://github.com/daikawa-cq/BookManager-Android/pull/1#discussion_r191109514","pull_request_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/comments/191109514"},"html":{"href":"https://github.com/daikawa-cq/BookManager-Android/pull/1#discussion_r191109514"},"pull_request":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/1","id":187439312,"html_url":"https://github.com/daikawa-cq/BookManager-Android/pull/1","diff_url":"https://github.com/daikawa-cq/BookManager-Android/pull/1.diff","patch_url":"https://github.com/daikawa-cq/BookManager-Android/pull/1.patch","issue_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues/1","number":1,"state":"open","locked":false,"title":"UI作成","user":{"login":"daikawa-cq","id":37997585,"avatar_url":"https://avatars1.githubusercontent.com/u/37997585?v=4","gravatar_id":"","url":"https://api.github.com/users/daikawa-cq","html_url":"https://github.com/daikawa-cq","followers_url":"https://api.github.com/users/daikawa-cq/followers","following_url":"https://api.github.com/users/daikawa-cq/following{/other_user}","gists_url":"https://api.github.com/users/daikawa-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/daikawa-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daikawa-cq/subscriptions","organizations_url":"https://api.github.com/users/daikawa-cq/orgs","repos_url":"https://api.github.com/users/daikawa-cq/repos","events_url":"https://api.github.com/users/daikawa-cq/events{/privacy}","received_events_url":"https://api.github.com/users/daikawa-cq/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-11T11:34:22Z","updated_at":"2018-05-28T04:40:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81e8f0102350ec6f78d5867d96625e40bc1cc516","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/1/commits","review_comments_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/1/comments","review_comment_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues/1/comments","statuses_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/statuses/1a584f4c1a3d02fad4fe465ebdfe39cb4fe1f3db","head":{"label":"daikawa-cq:UI","ref":"UI","sha":"1a584f4c1a3d02fad4fe465ebdfe39cb4fe1f3db","user":{"login":"daikawa-cq","id":37997585,"avatar_url":"https://avatars1.githubusercontent.com/u/37997585?v=4","gravatar_id":"","url":"https://api.github.com/users/daikawa-cq","html_url":"https://github.com/daikawa-cq","followers_url":"https://api.github.com/users/daikawa-cq/followers","following_url":"https://api.github.com/users/daikawa-cq/following{/other_user}","gists_url":"https://api.github.com/users/daikawa-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/daikawa-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daikawa-cq/subscriptions","organizations_url":"https://api.github.com/users/daikawa-cq/orgs","repos_url":"https://api.github.com/users/daikawa-cq/repos","events_url":"https://api.github.com/users/daikawa-cq/events{/privacy}","received_events_url":"https://api.github.com/users/daikawa-cq/received_events","type":"User","site_admin":false},"repo":{"id":128706551,"name":"BookManager-Android","full_name":"daikawa-cq/BookManager-Android","owner":{"login":"daikawa-cq","id":37997585,"avatar_url":"https://avatars1.githubusercontent.com/u/37997585?v=4","gravatar_id":"","url":"https://api.github.com/users/daikawa-cq","html_url":"https://github.com/daikawa-cq","followers_url":"https://api.github.com/users/daikawa-cq/followers","following_url":"https://api.github.com/users/daikawa-cq/following{/other_user}","gists_url":"https://api.github.com/users/daikawa-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/daikawa-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daikawa-cq/subscriptions","organizations_url":"https://api.github.com/users/daikawa-cq/orgs","repos_url":"https://api.github.com/users/daikawa-cq/repos","events_url":"https://api.github.com/users/daikawa-cq/events{/privacy}","received_events_url":"https://api.github.com/users/daikawa-cq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daikawa-cq/BookManager-Android","description":null,"fork":false,"url":"https://api.github.com/repos/daikawa-cq/BookManager-Android","forks_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/forks","keys_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/teams","hooks_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/hooks","issue_events_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues/events{/number}","events_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/events","assignees_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/assignees{/user}","branches_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/branches{/branch}","tags_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/tags","blobs_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/languages","stargazers_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/stargazers","contributors_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/contributors","subscribers_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/subscribers","subscription_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/subscription","commits_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/contents/{+path}","compare_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/merges","archive_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/downloads","issues_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues{/number}","pulls_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/labels{/name}","releases_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/releases{/id}","deployments_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/deployments","created_at":"2018-04-09T02:59:54Z","updated_at":"2018-05-28T01:30:36Z","pushed_at":"2018-05-28T01:30:36Z","git_url":"git://github.com/daikawa-cq/BookManager-Android.git","ssh_url":"git@github.com:daikawa-cq/BookManager-Android.git","clone_url":"https://github.com/daikawa-cq/BookManager-Android.git","svn_url":"https://github.com/daikawa-cq/BookManager-Android","homepage":null,"size":288,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"UI"}},"base":{"label":"daikawa-cq:master","ref":"master","sha":"78e950c928ff73b55e55cbef7673ce8e24748d1d","user":{"login":"daikawa-cq","id":37997585,"avatar_url":"https://avatars1.githubusercontent.com/u/37997585?v=4","gravatar_id":"","url":"https://api.github.com/users/daikawa-cq","html_url":"https://github.com/daikawa-cq","followers_url":"https://api.github.com/users/daikawa-cq/followers","following_url":"https://api.github.com/users/daikawa-cq/following{/other_user}","gists_url":"https://api.github.com/users/daikawa-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/daikawa-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daikawa-cq/subscriptions","organizations_url":"https://api.github.com/users/daikawa-cq/orgs","repos_url":"https://api.github.com/users/daikawa-cq/repos","events_url":"https://api.github.com/users/daikawa-cq/events{/privacy}","received_events_url":"https://api.github.com/users/daikawa-cq/received_events","type":"User","site_admin":false},"repo":{"id":128706551,"name":"BookManager-Android","full_name":"daikawa-cq/BookManager-Android","owner":{"login":"daikawa-cq","id":37997585,"avatar_url":"https://avatars1.githubusercontent.com/u/37997585?v=4","gravatar_id":"","url":"https://api.github.com/users/daikawa-cq","html_url":"https://github.com/daikawa-cq","followers_url":"https://api.github.com/users/daikawa-cq/followers","following_url":"https://api.github.com/users/daikawa-cq/following{/other_user}","gists_url":"https://api.github.com/users/daikawa-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/daikawa-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daikawa-cq/subscriptions","organizations_url":"https://api.github.com/users/daikawa-cq/orgs","repos_url":"https://api.github.com/users/daikawa-cq/repos","events_url":"https://api.github.com/users/daikawa-cq/events{/privacy}","received_events_url":"https://api.github.com/users/daikawa-cq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daikawa-cq/BookManager-Android","description":null,"fork":false,"url":"https://api.github.com/repos/daikawa-cq/BookManager-Android","forks_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/forks","keys_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/teams","hooks_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/hooks","issue_events_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues/events{/number}","events_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/events","assignees_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/assignees{/user}","branches_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/branches{/branch}","tags_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/tags","blobs_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/languages","stargazers_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/stargazers","contributors_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/contributors","subscribers_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/subscribers","subscription_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/subscription","commits_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/contents/{+path}","compare_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/merges","archive_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/downloads","issues_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues{/number}","pulls_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/labels{/name}","releases_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/releases{/id}","deployments_url":"https://api.github.com/repos/daikawa-cq/BookManager-Android/deployments","created_at":"2018-04-09T02:59:54Z","updated_at":"2018-05-28T01:30:36Z","pushed_at":"2018-05-28T01:30:36Z","git_url":"git://github.com/daikawa-cq/BookManager-Android.git","ssh_url":"git@github.com:daikawa-cq/BookManager-Android.git","clone_url":"https://github.com/daikawa-cq/BookManager-Android.git","svn_url":"https://github.com/daikawa-cq/BookManager-Android","homepage":null,"size":288,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"UI"}},"_links":{"self":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/1"},"html":{"href":"https://github.com/daikawa-cq/BookManager-Android/pull/1"},"issue":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues/1"},"comments":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/daikawa-cq/BookManager-Android/statuses/1a584f4c1a3d02fad4fe465ebdfe39cb4fe1f3db"}},"author_association":"OWNER"}}
{"actor":{"display_login":"yiino-cq"}}