{"action":"created","comment":{"url":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/comments/39432382","id":39432382,"diff_hunk":"@@ -15,17 +15,20 @@ open class MainActivity2 : Activity() {\n         setContentView(R.layout.activity_main2)\n \n         var next: Button = findViewById(R.id.Button02) as Button\n-        next.setOnClickListener(object : View.OnClickListener {\n-            public override fun onClick(view: View) {\n-                val intent: Intent = Intent()\n-                setResult(Activity.RESULT_OK, intent)\n-                finish()\n-            }\n-        })\n+\n+//        next.setOnClickListener(object : View.OnClickListener {","path":"gradle/android-mixed-java-kotlin-project/AndroidSample/src/main/kotlin/org/jetbrains/kotlin/gradle/androidsample/MainActivity2.kt","position":null,"original_position":12,"commit_id":"0c1297870a5b4d10a8e681854804aeae528eafd6","original_commit_id":"d0e6889d15a98d2a1ed0d399c65d1e8b7b5f6f6e","user":{"login":"kosiara","id":4531522,"avatar_url":"https://avatars.githubusercontent.com/u/4531522?v=3","gravatar_id":"","url":"https://api.github.com/users/kosiara","html_url":"https://github.com/kosiara","followers_url":"https://api.github.com/users/kosiara/followers","following_url":"https://api.github.com/users/kosiara/following{/other_user}","gists_url":"https://api.github.com/users/kosiara/gists{/gist_id}","starred_url":"https://api.github.com/users/kosiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosiara/subscriptions","organizations_url":"https://api.github.com/users/kosiara/orgs","repos_url":"https://api.github.com/users/kosiara/repos","events_url":"https://api.github.com/users/kosiara/events{/privacy}","received_events_url":"https://api.github.com/users/kosiara/received_events","type":"User","site_admin":false},"body":"Yes, you're right. It works perfectly without the commented code. I've changed the app name (it wasn't displayed correctly in the app launcher - Activity name was taken instead). I've also added kotlin icon instead of the default Android one. ","created_at":"2015-09-14T18:57:09Z","updated_at":"2015-09-14T18:57:09Z","html_url":"https://github.com/JetBrains/kotlin-examples/pull/14#discussion_r39432382","pull_request_url":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/comments/39432382"},"html":{"href":"https://github.com/JetBrains/kotlin-examples/pull/14#discussion_r39432382"},"pull_request":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/14","id":44932751,"html_url":"https://github.com/JetBrains/kotlin-examples/pull/14","diff_url":"https://github.com/JetBrains/kotlin-examples/pull/14.diff","patch_url":"https://github.com/JetBrains/kotlin-examples/pull/14.patch","issue_url":"https://api.github.com/repos/JetBrains/kotlin-examples/issues/14","number":14,"state":"open","locked":false,"title":"lib version refresh + button text size","user":{"login":"kosiara","id":4531522,"avatar_url":"https://avatars.githubusercontent.com/u/4531522?v=3","gravatar_id":"","url":"https://api.github.com/users/kosiara","html_url":"https://github.com/kosiara","followers_url":"https://api.github.com/users/kosiara/followers","following_url":"https://api.github.com/users/kosiara/following{/other_user}","gists_url":"https://api.github.com/users/kosiara/gists{/gist_id}","starred_url":"https://api.github.com/users/kosiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosiara/subscriptions","organizations_url":"https://api.github.com/users/kosiara/orgs","repos_url":"https://api.github.com/users/kosiara/repos","events_url":"https://api.github.com/users/kosiara/events{/privacy}","received_events_url":"https://api.github.com/users/kosiara/received_events","type":"User","site_admin":false},"body":"Android mixed Java + kotlin example changes\r\nlib version refresh + button text size","created_at":"2015-09-14T13:56:57Z","updated_at":"2015-09-14T18:57:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6800ab2ab32f8b525ee2d3750caa6f9a3b6e64ad","assignee":{"login":"yanex","id":95996,"avatar_url":"https://avatars.githubusercontent.com/u/95996?v=3","gravatar_id":"","url":"https://api.github.com/users/yanex","html_url":"https://github.com/yanex","followers_url":"https://api.github.com/users/yanex/followers","following_url":"https://api.github.com/users/yanex/following{/other_user}","gists_url":"https://api.github.com/users/yanex/gists{/gist_id}","starred_url":"https://api.github.com/users/yanex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanex/subscriptions","organizations_url":"https://api.github.com/users/yanex/orgs","repos_url":"https://api.github.com/users/yanex/repos","events_url":"https://api.github.com/users/yanex/events{/privacy}","received_events_url":"https://api.github.com/users/yanex/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/14/commits","review_comments_url":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/14/comments","review_comment_url":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-examples/issues/14/comments","statuses_url":"https://api.github.com/repos/JetBrains/kotlin-examples/statuses/0c1297870a5b4d10a8e681854804aeae528eafd6","head":{"label":"kosiara:master","ref":"master","sha":"0c1297870a5b4d10a8e681854804aeae528eafd6","user":{"login":"kosiara","id":4531522,"avatar_url":"https://avatars.githubusercontent.com/u/4531522?v=3","gravatar_id":"","url":"https://api.github.com/users/kosiara","html_url":"https://github.com/kosiara","followers_url":"https://api.github.com/users/kosiara/followers","following_url":"https://api.github.com/users/kosiara/following{/other_user}","gists_url":"https://api.github.com/users/kosiara/gists{/gist_id}","starred_url":"https://api.github.com/users/kosiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosiara/subscriptions","organizations_url":"https://api.github.com/users/kosiara/orgs","repos_url":"https://api.github.com/users/kosiara/repos","events_url":"https://api.github.com/users/kosiara/events{/privacy}","received_events_url":"https://api.github.com/users/kosiara/received_events","type":"User","site_admin":false},"repo":{"id":42451567,"name":"kotlin-examples","full_name":"kosiara/kotlin-examples","owner":{"login":"kosiara","id":4531522,"avatar_url":"https://avatars.githubusercontent.com/u/4531522?v=3","gravatar_id":"","url":"https://api.github.com/users/kosiara","html_url":"https://github.com/kosiara","followers_url":"https://api.github.com/users/kosiara/followers","following_url":"https://api.github.com/users/kosiara/following{/other_user}","gists_url":"https://api.github.com/users/kosiara/gists{/gist_id}","starred_url":"https://api.github.com/users/kosiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosiara/subscriptions","organizations_url":"https://api.github.com/users/kosiara/orgs","repos_url":"https://api.github.com/users/kosiara/repos","events_url":"https://api.github.com/users/kosiara/events{/privacy}","received_events_url":"https://api.github.com/users/kosiara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kosiara/kotlin-examples","description":"Various examples for Kotlin","fork":true,"url":"https://api.github.com/repos/kosiara/kotlin-examples","forks_url":"https://api.github.com/repos/kosiara/kotlin-examples/forks","keys_url":"https://api.github.com/repos/kosiara/kotlin-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kosiara/kotlin-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kosiara/kotlin-examples/teams","hooks_url":"https://api.github.com/repos/kosiara/kotlin-examples/hooks","issue_events_url":"https://api.github.com/repos/kosiara/kotlin-examples/issues/events{/number}","events_url":"https://api.github.com/repos/kosiara/kotlin-examples/events","assignees_url":"https://api.github.com/repos/kosiara/kotlin-examples/assignees{/user}","branches_url":"https://api.github.com/repos/kosiara/kotlin-examples/branches{/branch}","tags_url":"https://api.github.com/repos/kosiara/kotlin-examples/tags","blobs_url":"https://api.github.com/repos/kosiara/kotlin-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kosiara/kotlin-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kosiara/kotlin-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/kosiara/kotlin-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kosiara/kotlin-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/kosiara/kotlin-examples/languages","stargazers_url":"https://api.github.com/repos/kosiara/kotlin-examples/stargazers","contributors_url":"https://api.github.com/repos/kosiara/kotlin-examples/contributors","subscribers_url":"https://api.github.com/repos/kosiara/kotlin-examples/subscribers","subscription_url":"https://api.github.com/repos/kosiara/kotlin-examples/subscription","commits_url":"https://api.github.com/repos/kosiara/kotlin-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/kosiara/kotlin-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/kosiara/kotlin-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/kosiara/kotlin-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/kosiara/kotlin-examples/contents/{+path}","compare_url":"https://api.github.com/repos/kosiara/kotlin-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kosiara/kotlin-examples/merges","archive_url":"https://api.github.com/repos/kosiara/kotlin-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kosiara/kotlin-examples/downloads","issues_url":"https://api.github.com/repos/kosiara/kotlin-examples/issues{/number}","pulls_url":"https://api.github.com/repos/kosiara/kotlin-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/kosiara/kotlin-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/kosiara/kotlin-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kosiara/kotlin-examples/labels{/name}","releases_url":"https://api.github.com/repos/kosiara/kotlin-examples/releases{/id}","created_at":"2015-09-14T13:51:02Z","updated_at":"2015-09-14T13:51:02Z","pushed_at":"2015-09-14T18:54:11Z","git_url":"git://github.com/kosiara/kotlin-examples.git","ssh_url":"git@github.com:kosiara/kotlin-examples.git","clone_url":"https://github.com/kosiara/kotlin-examples.git","svn_url":"https://github.com/kosiara/kotlin-examples","homepage":null,"size":886,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JetBrains:master","ref":"master","sha":"910b8e1c7911318774c9e309ba26c67803504df9","user":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":8856204,"name":"kotlin-examples","full_name":"JetBrains/kotlin-examples","owner":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JetBrains/kotlin-examples","description":"Various examples for Kotlin","fork":false,"url":"https://api.github.com/repos/JetBrains/kotlin-examples","forks_url":"https://api.github.com/repos/JetBrains/kotlin-examples/forks","keys_url":"https://api.github.com/repos/JetBrains/kotlin-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/kotlin-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/kotlin-examples/teams","hooks_url":"https://api.github.com/repos/JetBrains/kotlin-examples/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/kotlin-examples/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/kotlin-examples/events","assignees_url":"https://api.github.com/repos/JetBrains/kotlin-examples/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/kotlin-examples/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/kotlin-examples/tags","blobs_url":"https://api.github.com/repos/JetBrains/kotlin-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/kotlin-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/kotlin-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/kotlin-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/kotlin-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/kotlin-examples/languages","stargazers_url":"https://api.github.com/repos/JetBrains/kotlin-examples/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/kotlin-examples/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/kotlin-examples/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/kotlin-examples/subscription","commits_url":"https://api.github.com/repos/JetBrains/kotlin-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/kotlin-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/kotlin-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/kotlin-examples/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/kotlin-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/kotlin-examples/merges","archive_url":"https://api.github.com/repos/JetBrains/kotlin-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/kotlin-examples/downloads","issues_url":"https://api.github.com/repos/JetBrains/kotlin-examples/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/kotlin-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/kotlin-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/kotlin-examples/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/kotlin-examples/releases{/id}","created_at":"2013-03-18T14:34:06Z","updated_at":"2015-09-12T14:07:24Z","pushed_at":"2015-09-14T18:54:12Z","git_url":"git://github.com/JetBrains/kotlin-examples.git","ssh_url":"git@github.com:JetBrains/kotlin-examples.git","clone_url":"https://github.com/JetBrains/kotlin-examples.git","svn_url":"https://github.com/JetBrains/kotlin-examples","homepage":null,"size":886,"stargazers_count":81,"watchers_count":81,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":4,"forks":24,"open_issues":4,"watchers":81,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/14"},"html":{"href":"https://github.com/JetBrains/kotlin-examples/pull/14"},"issue":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/issues/14"},"comments":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/JetBrains/kotlin-examples/statuses/0c1297870a5b4d10a8e681854804aeae528eafd6"}}}}