{"action":"created","comment":{"url":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/comments/92977367","pull_request_review_id":13497631,"id":92977367,"diff_hunk":"@@ -0,0 +1,72 @@\n+package org.paradrops.sharedelementdialogsample\n+\n+import android.os.Bundle\n+import android.support.v7.app.AlertDialog\n+import android.support.v7.app.AppCompatActivity\n+import android.support.v7.widget.CardView\n+import android.widget.Button\n+import android.widget.ImageView\n+import android.widget.TextView\n+import org.paradrops.sharedelementdialog.SharedElementDialog\n+\n+class MainActivity : AppCompatActivity() {\n+\n+    private val imageRootView by lazy { findViewById(R.id.imageRootView) as CardView }\n+    private val image by lazy { findViewById(R.id.image) as ImageView }\n+    private val imageText by lazy { findViewById(R.id.imageText) as TextView }\n+\n+    private val defaultDialogButton by lazy { findViewById(R.id.defaultDialogButton) as Button }\n+    private val dialogButton by lazy { findViewById(R.id.dialogButton) as Button }\n+    private val noTitleDialogButton by lazy { findViewById(R.id.noTitleDialogButton) as Button }\n+    private val imageOnlyDialogButton by lazy { findViewById(R.id.imageOnlyDialogButton) as Button }\n+\n+    override fun onCreate(savedInstanceState: Bundle?) {\n+        super.onCreate(savedInstanceState)\n+        setContentView(R.layout.activity_main)\n+\n+        defaultDialogButton.setOnClickListener {\n+            AlertDialog.Builder(this)\n+                    .setTitle(\"Title\")\n+                    .setMessage(\"Message\")\n+                    .setPositiveButton(\"OK\", null)\n+                    .setNegativeButton(\"NO\", null)\n+                    .setNeutralButton(\"CANCEL\", null)\n+                    .create()\n+                    .show()\n+        }\n+\n+        dialogButton.setOnClickListener {\n+            SharedElementDialog.Builder()\n+                    .setTitle(\"Title\")\n+                    .setMessage(\"Message\")\n+                    .setPositiveButton(\"OK\")\n+                    .setNegativeButton(\"NO\")\n+                    .setNeutralButton(\"CANCEL\")","path":"app/src/main/java/org/paradrops/sharedelementdialogsample/MainActivity.kt","position":44,"original_position":44,"commit_id":"8b783cf5e9d45289f588c3b5e25e2e983c6a97e9","original_commit_id":"8b783cf5e9d45289f588c3b5e25e2e983c6a97e9","user":{"login":"paraya3636","id":7125472,"avatar_url":"https://avatars.githubusercontent.com/u/7125472?v=3","gravatar_id":"","url":"https://api.github.com/users/paraya3636","html_url":"https://github.com/paraya3636","followers_url":"https://api.github.com/users/paraya3636/followers","following_url":"https://api.github.com/users/paraya3636/following{/other_user}","gists_url":"https://api.github.com/users/paraya3636/gists{/gist_id}","starred_url":"https://api.github.com/users/paraya3636/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paraya3636/subscriptions","organizations_url":"https://api.github.com/users/paraya3636/orgs","repos_url":"https://api.github.com/users/paraya3636/repos","events_url":"https://api.github.com/users/paraya3636/events{/privacy}","received_events_url":"https://api.github.com/users/paraya3636/received_events","type":"User","site_admin":false},"body":"[IMO]タイトルもシェアしたい欲…(´・ω・｀)","created_at":"2016-12-19T07:05:59Z","updated_at":"2016-12-19T07:12:07Z","html_url":"https://github.com/paraya3636/SharedElementDialog/pull/1#discussion_r92977367","pull_request_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/comments/92977367"},"html":{"href":"https://github.com/paraya3636/SharedElementDialog/pull/1#discussion_r92977367"},"pull_request":{"href":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/1","id":98513920,"html_url":"https://github.com/paraya3636/SharedElementDialog/pull/1","diff_url":"https://github.com/paraya3636/SharedElementDialog/pull/1.diff","patch_url":"https://github.com/paraya3636/SharedElementDialog/pull/1.patch","issue_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues/1","number":1,"state":"open","locked":false,"title":"表示するだけ部分作ってみた","user":{"login":"paraya3636","id":7125472,"avatar_url":"https://avatars.githubusercontent.com/u/7125472?v=3","gravatar_id":"","url":"https://api.github.com/users/paraya3636","html_url":"https://github.com/paraya3636","followers_url":"https://api.github.com/users/paraya3636/followers","following_url":"https://api.github.com/users/paraya3636/following{/other_user}","gists_url":"https://api.github.com/users/paraya3636/gists{/gist_id}","starred_url":"https://api.github.com/users/paraya3636/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paraya3636/subscriptions","organizations_url":"https://api.github.com/users/paraya3636/orgs","repos_url":"https://api.github.com/users/paraya3636/repos","events_url":"https://api.github.com/users/paraya3636/events{/privacy}","received_events_url":"https://api.github.com/users/paraya3636/received_events","type":"User","site_admin":false},"body":"# やったこと\r\n- AlertDialogに似た感じでSharedElemetのDialogを作成できるようにしてみた\r\n- AlertDialogと同様のレイアウトで表示\r\n\r\n# やらなかったこと\r\n- Dialogからのクリックイベント等のコールバック\r\n- ダイアログ中の画像表示サイズ変更とか","created_at":"2016-12-19T06:37:05Z","updated_at":"2016-12-19T07:12:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f99d0d5731d3f26fecae03700735f7556ad1b87b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/1/commits","review_comments_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/1/comments","review_comment_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues/1/comments","statuses_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/statuses/8b783cf5e9d45289f588c3b5e25e2e983c6a97e9","head":{"label":"paraya3636:feature/work","ref":"feature/work","sha":"8b783cf5e9d45289f588c3b5e25e2e983c6a97e9","user":{"login":"paraya3636","id":7125472,"avatar_url":"https://avatars.githubusercontent.com/u/7125472?v=3","gravatar_id":"","url":"https://api.github.com/users/paraya3636","html_url":"https://github.com/paraya3636","followers_url":"https://api.github.com/users/paraya3636/followers","following_url":"https://api.github.com/users/paraya3636/following{/other_user}","gists_url":"https://api.github.com/users/paraya3636/gists{/gist_id}","starred_url":"https://api.github.com/users/paraya3636/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paraya3636/subscriptions","organizations_url":"https://api.github.com/users/paraya3636/orgs","repos_url":"https://api.github.com/users/paraya3636/repos","events_url":"https://api.github.com/users/paraya3636/events{/privacy}","received_events_url":"https://api.github.com/users/paraya3636/received_events","type":"User","site_admin":false},"repo":{"id":76448788,"name":"SharedElementDialog","full_name":"paraya3636/SharedElementDialog","owner":{"login":"paraya3636","id":7125472,"avatar_url":"https://avatars.githubusercontent.com/u/7125472?v=3","gravatar_id":"","url":"https://api.github.com/users/paraya3636","html_url":"https://github.com/paraya3636","followers_url":"https://api.github.com/users/paraya3636/followers","following_url":"https://api.github.com/users/paraya3636/following{/other_user}","gists_url":"https://api.github.com/users/paraya3636/gists{/gist_id}","starred_url":"https://api.github.com/users/paraya3636/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paraya3636/subscriptions","organizations_url":"https://api.github.com/users/paraya3636/orgs","repos_url":"https://api.github.com/users/paraya3636/repos","events_url":"https://api.github.com/users/paraya3636/events{/privacy}","received_events_url":"https://api.github.com/users/paraya3636/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paraya3636/SharedElementDialog","description":null,"fork":false,"url":"https://api.github.com/repos/paraya3636/SharedElementDialog","forks_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/forks","keys_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/teams","hooks_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/hooks","issue_events_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues/events{/number}","events_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/events","assignees_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/assignees{/user}","branches_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/branches{/branch}","tags_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/tags","blobs_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/refs{/sha}","trees_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/statuses/{sha}","languages_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/languages","stargazers_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/stargazers","contributors_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/contributors","subscribers_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/subscribers","subscription_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/subscription","commits_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/commits{/sha}","git_commits_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/commits{/sha}","comments_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/comments{/number}","issue_comment_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues/comments{/number}","contents_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/contents/{+path}","compare_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/merges","archive_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/downloads","issues_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues{/number}","pulls_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls{/number}","milestones_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/milestones{/number}","notifications_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/labels{/name}","releases_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/releases{/id}","deployments_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/deployments","created_at":"2016-12-14T10:19:02Z","updated_at":"2016-12-14T10:34:00Z","pushed_at":"2016-12-19T06:37:05Z","git_url":"git://github.com/paraya3636/SharedElementDialog.git","ssh_url":"git@github.com:paraya3636/SharedElementDialog.git","clone_url":"https://github.com/paraya3636/SharedElementDialog.git","svn_url":"https://github.com/paraya3636/SharedElementDialog","homepage":null,"size":250,"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":"paraya3636:develop","ref":"develop","sha":"dc66f7872ad30c8d5090f1e30747d1cc76fe396f","user":{"login":"paraya3636","id":7125472,"avatar_url":"https://avatars.githubusercontent.com/u/7125472?v=3","gravatar_id":"","url":"https://api.github.com/users/paraya3636","html_url":"https://github.com/paraya3636","followers_url":"https://api.github.com/users/paraya3636/followers","following_url":"https://api.github.com/users/paraya3636/following{/other_user}","gists_url":"https://api.github.com/users/paraya3636/gists{/gist_id}","starred_url":"https://api.github.com/users/paraya3636/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paraya3636/subscriptions","organizations_url":"https://api.github.com/users/paraya3636/orgs","repos_url":"https://api.github.com/users/paraya3636/repos","events_url":"https://api.github.com/users/paraya3636/events{/privacy}","received_events_url":"https://api.github.com/users/paraya3636/received_events","type":"User","site_admin":false},"repo":{"id":76448788,"name":"SharedElementDialog","full_name":"paraya3636/SharedElementDialog","owner":{"login":"paraya3636","id":7125472,"avatar_url":"https://avatars.githubusercontent.com/u/7125472?v=3","gravatar_id":"","url":"https://api.github.com/users/paraya3636","html_url":"https://github.com/paraya3636","followers_url":"https://api.github.com/users/paraya3636/followers","following_url":"https://api.github.com/users/paraya3636/following{/other_user}","gists_url":"https://api.github.com/users/paraya3636/gists{/gist_id}","starred_url":"https://api.github.com/users/paraya3636/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paraya3636/subscriptions","organizations_url":"https://api.github.com/users/paraya3636/orgs","repos_url":"https://api.github.com/users/paraya3636/repos","events_url":"https://api.github.com/users/paraya3636/events{/privacy}","received_events_url":"https://api.github.com/users/paraya3636/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paraya3636/SharedElementDialog","description":null,"fork":false,"url":"https://api.github.com/repos/paraya3636/SharedElementDialog","forks_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/forks","keys_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/teams","hooks_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/hooks","issue_events_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues/events{/number}","events_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/events","assignees_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/assignees{/user}","branches_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/branches{/branch}","tags_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/tags","blobs_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/refs{/sha}","trees_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/statuses/{sha}","languages_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/languages","stargazers_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/stargazers","contributors_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/contributors","subscribers_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/subscribers","subscription_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/subscription","commits_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/commits{/sha}","git_commits_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/git/commits{/sha}","comments_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/comments{/number}","issue_comment_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues/comments{/number}","contents_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/contents/{+path}","compare_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/merges","archive_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/downloads","issues_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues{/number}","pulls_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls{/number}","milestones_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/milestones{/number}","notifications_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/labels{/name}","releases_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/releases{/id}","deployments_url":"https://api.github.com/repos/paraya3636/SharedElementDialog/deployments","created_at":"2016-12-14T10:19:02Z","updated_at":"2016-12-14T10:34:00Z","pushed_at":"2016-12-19T06:37:05Z","git_url":"git://github.com/paraya3636/SharedElementDialog.git","ssh_url":"git@github.com:paraya3636/SharedElementDialog.git","clone_url":"https://github.com/paraya3636/SharedElementDialog.git","svn_url":"https://github.com/paraya3636/SharedElementDialog","homepage":null,"size":250,"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/paraya3636/SharedElementDialog/pulls/1"},"html":{"href":"https://github.com/paraya3636/SharedElementDialog/pull/1"},"issue":{"href":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues/1"},"comments":{"href":"https://api.github.com/repos/paraya3636/SharedElementDialog/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paraya3636/SharedElementDialog/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/paraya3636/SharedElementDialog/statuses/8b783cf5e9d45289f588c3b5e25e2e983c6a97e9"}}}}
{"actor":{"display_login":"paraya3636"}}