{"action":"created","comment":{"url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/comments/157564500","pull_request_review_id":84227409,"id":157564500,"diff_hunk":"@@ -0,0 +1,148 @@\n+package com.example.demo\n+\n+import android.content.res.Configuration\n+import android.os.Bundle\n+import android.support.v7.app.AppCompatActivity\n+import android.text.InputType\n+import android.view.View\n+import android.widget.EditText\n+import android.widget.LinearLayout\n+import hw1.splay.splaySetOf\n+import org.jetbrains.anko.alert\n+import org.jetbrains.anko.cancelButton\n+import org.jetbrains.anko.toast\n+import org.jetbrains.anko.yesButton\n+\n+\n+class MainActivity : AppCompatActivity(), View.OnClickListener {\n+    private val splaySet = splaySetOf<Int>()\n+\n+    override fun onCreate(savedInstanceState: Bundle?) {\n+        super.onCreate(savedInstanceState)\n+        setContentView(\n+                linearLayout {\n+                    layoutParams = LinearLayout.LayoutParams(\n+                            LinearLayout.LayoutParams.MATCH_PARENT,\n+                            LinearLayout.LayoutParams.MATCH_PARENT\n+                    )\n+\n+                    orientation = LinearLayout.VERTICAL\n+\n+\n+                    val layoutParams =\n+                        LinearLayout.LayoutParams(\n+                            LinearLayout.LayoutParams.MATCH_PARENT,\n+                            LinearLayout.LayoutParams.WRAP_CONTENT,\n+                            1F\n+                        ).apply {\n+                            setMargins(16.toDp(), 16.toDp(), 16.toDp(), 16.toDp())\n+                        }","path":"app/src/main/kotlin/com/example/demo/MainActivity.kt","position":39,"original_position":39,"commit_id":"f2271c2931c5dd701aa9150fc862565378ddab50","original_commit_id":"f2271c2931c5dd701aa9150fc862565378ddab50","user":{"login":"anton-bannykh","id":1115872,"avatar_url":"https://avatars1.githubusercontent.com/u/1115872?v=4","gravatar_id":"","url":"https://api.github.com/users/anton-bannykh","html_url":"https://github.com/anton-bannykh","followers_url":"https://api.github.com/users/anton-bannykh/followers","following_url":"https://api.github.com/users/anton-bannykh/following{/other_user}","gists_url":"https://api.github.com/users/anton-bannykh/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-bannykh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-bannykh/subscriptions","organizations_url":"https://api.github.com/users/anton-bannykh/orgs","repos_url":"https://api.github.com/users/anton-bannykh/repos","events_url":"https://api.github.com/users/anton-bannykh/events{/privacy}","received_events_url":"https://api.github.com/users/anton-bannykh/received_events","type":"User","site_admin":false},"body":"Тут бы изобрести синтаксис для задания layout'а для всех детей. Например,\r\n```\r\nchildLayout  = ...\r\n```","created_at":"2017-12-18T18:34:48Z","updated_at":"2017-12-18T18:34:48Z","html_url":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017/pull/297#discussion_r157564500","pull_request_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/297","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/comments/157564500"},"html":{"href":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017/pull/297#discussion_r157564500"},"pull_request":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/297","id":158974727,"html_url":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017/pull/297","diff_url":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017/pull/297.diff","patch_url":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017/pull/297.patch","issue_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/issues/297","number":297,"state":"open","locked":false,"title":"Greg Pevnev HW3","user":{"login":"gpevnev","id":25636643,"avatar_url":"https://avatars0.githubusercontent.com/u/25636643?v=4","gravatar_id":"","url":"https://api.github.com/users/gpevnev","html_url":"https://github.com/gpevnev","followers_url":"https://api.github.com/users/gpevnev/followers","following_url":"https://api.github.com/users/gpevnev/following{/other_user}","gists_url":"https://api.github.com/users/gpevnev/gists{/gist_id}","starred_url":"https://api.github.com/users/gpevnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpevnev/subscriptions","organizations_url":"https://api.github.com/users/gpevnev/orgs","repos_url":"https://api.github.com/users/gpevnev/repos","events_url":"https://api.github.com/users/gpevnev/events{/privacy}","received_events_url":"https://api.github.com/users/gpevnev/received_events","type":"User","site_admin":false},"body":"Fixed commit tree after force push","created_at":"2017-12-18T17:35:33Z","updated_at":"2017-12-18T18:34:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"722ed70ba2b2d0c3733a39ce39a9c035ef05f47b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/297/commits","review_comments_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/297/comments","review_comment_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/issues/297/comments","statuses_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/statuses/f2271c2931c5dd701aa9150fc862565378ddab50","head":{"label":"gpevnev:greg-pevnev","ref":"greg-pevnev","sha":"f2271c2931c5dd701aa9150fc862565378ddab50","user":{"login":"gpevnev","id":25636643,"avatar_url":"https://avatars0.githubusercontent.com/u/25636643?v=4","gravatar_id":"","url":"https://api.github.com/users/gpevnev","html_url":"https://github.com/gpevnev","followers_url":"https://api.github.com/users/gpevnev/followers","following_url":"https://api.github.com/users/gpevnev/following{/other_user}","gists_url":"https://api.github.com/users/gpevnev/gists{/gist_id}","starred_url":"https://api.github.com/users/gpevnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpevnev/subscriptions","organizations_url":"https://api.github.com/users/gpevnev/orgs","repos_url":"https://api.github.com/users/gpevnev/repos","events_url":"https://api.github.com/users/gpevnev/events{/privacy}","received_events_url":"https://api.github.com/users/gpevnev/received_events","type":"User","site_admin":false},"repo":{"id":112663452,"name":"ctddev-kotlin-demo-2017","full_name":"gpevnev/ctddev-kotlin-demo-2017","owner":{"login":"gpevnev","id":25636643,"avatar_url":"https://avatars0.githubusercontent.com/u/25636643?v=4","gravatar_id":"","url":"https://api.github.com/users/gpevnev","html_url":"https://github.com/gpevnev","followers_url":"https://api.github.com/users/gpevnev/followers","following_url":"https://api.github.com/users/gpevnev/following{/other_user}","gists_url":"https://api.github.com/users/gpevnev/gists{/gist_id}","starred_url":"https://api.github.com/users/gpevnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpevnev/subscriptions","organizations_url":"https://api.github.com/users/gpevnev/orgs","repos_url":"https://api.github.com/users/gpevnev/repos","events_url":"https://api.github.com/users/gpevnev/events{/privacy}","received_events_url":"https://api.github.com/users/gpevnev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gpevnev/ctddev-kotlin-demo-2017","description":"Kotlin demo for second year CTDDEV students","fork":true,"url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017","forks_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/forks","keys_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/teams","hooks_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/hooks","issue_events_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/issues/events{/number}","events_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/events","assignees_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/assignees{/user}","branches_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/branches{/branch}","tags_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/tags","blobs_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/git/refs{/sha}","trees_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/statuses/{sha}","languages_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/languages","stargazers_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/stargazers","contributors_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/contributors","subscribers_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/subscribers","subscription_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/subscription","commits_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/commits{/sha}","git_commits_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/git/commits{/sha}","comments_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/comments{/number}","issue_comment_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/issues/comments{/number}","contents_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/contents/{+path}","compare_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/merges","archive_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/downloads","issues_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/issues{/number}","pulls_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/pulls{/number}","milestones_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/milestones{/number}","notifications_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/labels{/name}","releases_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/releases{/id}","deployments_url":"https://api.github.com/repos/gpevnev/ctddev-kotlin-demo-2017/deployments","created_at":"2017-11-30T21:40:22Z","updated_at":"2017-12-18T16:55:26Z","pushed_at":"2017-12-18T17:24:32Z","git_url":"git://github.com/gpevnev/ctddev-kotlin-demo-2017.git","ssh_url":"git@github.com:gpevnev/ctddev-kotlin-demo-2017.git","clone_url":"https://github.com/gpevnev/ctddev-kotlin-demo-2017.git","svn_url":"https://github.com/gpevnev/ctddev-kotlin-demo-2017","homepage":null,"size":27678,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"greg-pevnev"}},"base":{"label":"anton-bannykh:greg-pevnev","ref":"greg-pevnev","sha":"2e0d22b3cf7a0c39e06679ef3e710ad65103e79e","user":{"login":"anton-bannykh","id":1115872,"avatar_url":"https://avatars1.githubusercontent.com/u/1115872?v=4","gravatar_id":"","url":"https://api.github.com/users/anton-bannykh","html_url":"https://github.com/anton-bannykh","followers_url":"https://api.github.com/users/anton-bannykh/followers","following_url":"https://api.github.com/users/anton-bannykh/following{/other_user}","gists_url":"https://api.github.com/users/anton-bannykh/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-bannykh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-bannykh/subscriptions","organizations_url":"https://api.github.com/users/anton-bannykh/orgs","repos_url":"https://api.github.com/users/anton-bannykh/repos","events_url":"https://api.github.com/users/anton-bannykh/events{/privacy}","received_events_url":"https://api.github.com/users/anton-bannykh/received_events","type":"User","site_admin":false},"repo":{"id":112449344,"name":"ctddev-kotlin-demo-2017","full_name":"anton-bannykh/ctddev-kotlin-demo-2017","owner":{"login":"anton-bannykh","id":1115872,"avatar_url":"https://avatars1.githubusercontent.com/u/1115872?v=4","gravatar_id":"","url":"https://api.github.com/users/anton-bannykh","html_url":"https://github.com/anton-bannykh","followers_url":"https://api.github.com/users/anton-bannykh/followers","following_url":"https://api.github.com/users/anton-bannykh/following{/other_user}","gists_url":"https://api.github.com/users/anton-bannykh/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-bannykh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-bannykh/subscriptions","organizations_url":"https://api.github.com/users/anton-bannykh/orgs","repos_url":"https://api.github.com/users/anton-bannykh/repos","events_url":"https://api.github.com/users/anton-bannykh/events{/privacy}","received_events_url":"https://api.github.com/users/anton-bannykh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017","description":"Kotlin demo for second year CTDDEV students","fork":false,"url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017","forks_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/forks","keys_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/teams","hooks_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/hooks","issue_events_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/issues/events{/number}","events_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/events","assignees_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/assignees{/user}","branches_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/branches{/branch}","tags_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/tags","blobs_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/git/refs{/sha}","trees_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/statuses/{sha}","languages_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/languages","stargazers_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/stargazers","contributors_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/contributors","subscribers_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/subscribers","subscription_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/subscription","commits_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/commits{/sha}","git_commits_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/git/commits{/sha}","comments_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/comments{/number}","issue_comment_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/issues/comments{/number}","contents_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/contents/{+path}","compare_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/merges","archive_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/downloads","issues_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/issues{/number}","pulls_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls{/number}","milestones_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/milestones{/number}","notifications_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/labels{/name}","releases_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/releases{/id}","deployments_url":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/deployments","created_at":"2017-11-29T08:41:33Z","updated_at":"2017-12-18T12:28:05Z","pushed_at":"2017-12-18T18:17:09Z","git_url":"git://github.com/anton-bannykh/ctddev-kotlin-demo-2017.git","ssh_url":"git@github.com:anton-bannykh/ctddev-kotlin-demo-2017.git","clone_url":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017.git","svn_url":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017","homepage":null,"size":3177,"stargazers_count":9,"watchers_count":9,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":89,"open_issues":42,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/297"},"html":{"href":"https://github.com/anton-bannykh/ctddev-kotlin-demo-2017/pull/297"},"issue":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/issues/297"},"comments":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/anton-bannykh/ctddev-kotlin-demo-2017/statuses/f2271c2931c5dd701aa9150fc862565378ddab50"}},"author_association":"NONE"}}
{"actor":{"display_login":"anton-bannykh"}}