{"action":"created","comment":{"url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/comments/167508567","pull_request_review_id":95736202,"id":167508567,"diff_hunk":"@@ -0,0 +1,124 @@\n+package com.app.android.ui.login\n+\n+import android.support.v4.content.ContextCompat\n+import android.text.InputType\n+import android.view.View\n+import android.widget.EditText\n+import android.widget.ProgressBar\n+import android.widget.TextView\n+import com.app.android.R\n+import com.app.android.extension.hideKeyboard\n+import com.app.android.extension.onTextChangeListener\n+import org.jetbrains.anko.*\n+import org.jetbrains.anko.sdk25.coroutines.onClick\n+\n+/**\n+ * Copyright © 2018 AsianTech inc.\n+ * Created by trung.nguyen on 2/9/18.\n+ */\n+class LoginActivityUI : AnkoComponent<LoginActivity> {\n+\n+    internal lateinit var tvNext: TextView\n+    internal lateinit var progressBar: ProgressBar\n+    internal lateinit var edtUsername: EditText\n+    internal lateinit var edtPassword: EditText\n+\n+    override fun createView(ui: AnkoContext<LoginActivity>) = with(ui) {\n+        relativeLayout {\n+            lparams(matchParent, matchParent)\n+            backgroundColor = android.R.color.white\n+\n+            tvNext = textView {\n+                id = R.id.login_activity_tv_next\n+                textColor = ContextCompat.getColor(ctx, R.color.red_blur)\n+                textSize = px2dip(dimen(R.dimen.login_tv_next_text_size))\n+                text = resources.getText(R.string.login_activity_tv_next)","path":"app/src/main/java/com/app/android/ui/login/LoginActivityUI.kt","position":35,"original_position":35,"commit_id":"7ee950af4160a7c624e459f4394606c9f3e775c3","original_commit_id":"7ee950af4160a7c624e459f4394606c9f3e775c3","user":{"login":"at-vinhhuynh","id":11311731,"avatar_url":"https://avatars1.githubusercontent.com/u/11311731?v=4","gravatar_id":"","url":"https://api.github.com/users/at-vinhhuynh","html_url":"https://github.com/at-vinhhuynh","followers_url":"https://api.github.com/users/at-vinhhuynh/followers","following_url":"https://api.github.com/users/at-vinhhuynh/following{/other_user}","gists_url":"https://api.github.com/users/at-vinhhuynh/gists{/gist_id}","starred_url":"https://api.github.com/users/at-vinhhuynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-vinhhuynh/subscriptions","organizations_url":"https://api.github.com/users/at-vinhhuynh/orgs","repos_url":"https://api.github.com/users/at-vinhhuynh/repos","events_url":"https://api.github.com/users/at-vinhhuynh/events{/privacy}","received_events_url":"https://api.github.com/users/at-vinhhuynh/received_events","type":"User","site_admin":false},"body":"remove this line and use `textview(R.string.login_activity_tv_next)`\r\nAnd also check all this file","created_at":"2018-02-12T10:04:57Z","updated_at":"2018-02-12T10:09:36Z","html_url":"https://github.com/akaj-team/AndroidBaseProject/pull/4#discussion_r167508567","pull_request_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/4","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/comments/167508567"},"html":{"href":"https://github.com/akaj-team/AndroidBaseProject/pull/4#discussion_r167508567"},"pull_request":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/4","id":168488869,"html_url":"https://github.com/akaj-team/AndroidBaseProject/pull/4","diff_url":"https://github.com/akaj-team/AndroidBaseProject/pull/4.diff","patch_url":"https://github.com/akaj-team/AndroidBaseProject/pull/4.patch","issue_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues/4","number":4,"state":"open","locked":false,"title":"Feature login firebase","user":{"login":"at-trungnguyen","id":11608143,"avatar_url":"https://avatars3.githubusercontent.com/u/11608143?v=4","gravatar_id":"","url":"https://api.github.com/users/at-trungnguyen","html_url":"https://github.com/at-trungnguyen","followers_url":"https://api.github.com/users/at-trungnguyen/followers","following_url":"https://api.github.com/users/at-trungnguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-trungnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-trungnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-trungnguyen/subscriptions","organizations_url":"https://api.github.com/users/at-trungnguyen/orgs","repos_url":"https://api.github.com/users/at-trungnguyen/repos","events_url":"https://api.github.com/users/at-trungnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-trungnguyen/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-12T02:04:23Z","updated_at":"2018-02-12T10:09:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80fe964375d6c41d832802cff424f6e2e806981e","assignee":{"login":"at-trungnguyen","id":11608143,"avatar_url":"https://avatars3.githubusercontent.com/u/11608143?v=4","gravatar_id":"","url":"https://api.github.com/users/at-trungnguyen","html_url":"https://github.com/at-trungnguyen","followers_url":"https://api.github.com/users/at-trungnguyen/followers","following_url":"https://api.github.com/users/at-trungnguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-trungnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-trungnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-trungnguyen/subscriptions","organizations_url":"https://api.github.com/users/at-trungnguyen/orgs","repos_url":"https://api.github.com/users/at-trungnguyen/repos","events_url":"https://api.github.com/users/at-trungnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-trungnguyen/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-trungnguyen","id":11608143,"avatar_url":"https://avatars3.githubusercontent.com/u/11608143?v=4","gravatar_id":"","url":"https://api.github.com/users/at-trungnguyen","html_url":"https://github.com/at-trungnguyen","followers_url":"https://api.github.com/users/at-trungnguyen/followers","following_url":"https://api.github.com/users/at-trungnguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-trungnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-trungnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-trungnguyen/subscriptions","organizations_url":"https://api.github.com/users/at-trungnguyen/orgs","repos_url":"https://api.github.com/users/at-trungnguyen/repos","events_url":"https://api.github.com/users/at-trungnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-trungnguyen/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"at-tuannguyen","id":16132171,"avatar_url":"https://avatars2.githubusercontent.com/u/16132171?v=4","gravatar_id":"","url":"https://api.github.com/users/at-tuannguyen","html_url":"https://github.com/at-tuannguyen","followers_url":"https://api.github.com/users/at-tuannguyen/followers","following_url":"https://api.github.com/users/at-tuannguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-tuannguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-tuannguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-tuannguyen/subscriptions","organizations_url":"https://api.github.com/users/at-tuannguyen/orgs","repos_url":"https://api.github.com/users/at-tuannguyen/repos","events_url":"https://api.github.com/users/at-tuannguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-tuannguyen/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/4/commits","review_comments_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/4/comments","review_comment_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues/4/comments","statuses_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/statuses/7ee950af4160a7c624e459f4394606c9f3e775c3","head":{"label":"akaj-team:feature/login_firebase","ref":"feature/login_firebase","sha":"7ee950af4160a7c624e459f4394606c9f3e775c3","user":{"login":"akaj-team","id":33055357,"avatar_url":"https://avatars0.githubusercontent.com/u/33055357?v=4","gravatar_id":"","url":"https://api.github.com/users/akaj-team","html_url":"https://github.com/akaj-team","followers_url":"https://api.github.com/users/akaj-team/followers","following_url":"https://api.github.com/users/akaj-team/following{/other_user}","gists_url":"https://api.github.com/users/akaj-team/gists{/gist_id}","starred_url":"https://api.github.com/users/akaj-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaj-team/subscriptions","organizations_url":"https://api.github.com/users/akaj-team/orgs","repos_url":"https://api.github.com/users/akaj-team/repos","events_url":"https://api.github.com/users/akaj-team/events{/privacy}","received_events_url":"https://api.github.com/users/akaj-team/received_events","type":"Organization","site_admin":false},"repo":{"id":119332818,"name":"AndroidBaseProject","full_name":"akaj-team/AndroidBaseProject","owner":{"login":"akaj-team","id":33055357,"avatar_url":"https://avatars0.githubusercontent.com/u/33055357?v=4","gravatar_id":"","url":"https://api.github.com/users/akaj-team","html_url":"https://github.com/akaj-team","followers_url":"https://api.github.com/users/akaj-team/followers","following_url":"https://api.github.com/users/akaj-team/following{/other_user}","gists_url":"https://api.github.com/users/akaj-team/gists{/gist_id}","starred_url":"https://api.github.com/users/akaj-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaj-team/subscriptions","organizations_url":"https://api.github.com/users/akaj-team/orgs","repos_url":"https://api.github.com/users/akaj-team/repos","events_url":"https://api.github.com/users/akaj-team/events{/privacy}","received_events_url":"https://api.github.com/users/akaj-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akaj-team/AndroidBaseProject","description":"Demo android project with latest support libraries","fork":false,"url":"https://api.github.com/repos/akaj-team/AndroidBaseProject","forks_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/forks","keys_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/teams","hooks_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/hooks","issue_events_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues/events{/number}","events_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/events","assignees_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/assignees{/user}","branches_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/branches{/branch}","tags_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/tags","blobs_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/statuses/{sha}","languages_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/languages","stargazers_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/stargazers","contributors_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/contributors","subscribers_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/subscribers","subscription_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/subscription","commits_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/contents/{+path}","compare_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/merges","archive_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/downloads","issues_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues{/number}","pulls_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls{/number}","milestones_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/milestones{/number}","notifications_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/labels{/name}","releases_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/releases{/id}","deployments_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/deployments","created_at":"2018-01-29T04:44:00Z","updated_at":"2018-01-29T09:38:16Z","pushed_at":"2018-02-12T02:21:13Z","git_url":"git://github.com/akaj-team/AndroidBaseProject.git","ssh_url":"git@github.com:akaj-team/AndroidBaseProject.git","clone_url":"https://github.com/akaj-team/AndroidBaseProject.git","svn_url":"https://github.com/akaj-team/AndroidBaseProject","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","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":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"akaj-team:master","ref":"master","sha":"469d65ad94bd745a043e2a743ddef0b5966ecb38","user":{"login":"akaj-team","id":33055357,"avatar_url":"https://avatars0.githubusercontent.com/u/33055357?v=4","gravatar_id":"","url":"https://api.github.com/users/akaj-team","html_url":"https://github.com/akaj-team","followers_url":"https://api.github.com/users/akaj-team/followers","following_url":"https://api.github.com/users/akaj-team/following{/other_user}","gists_url":"https://api.github.com/users/akaj-team/gists{/gist_id}","starred_url":"https://api.github.com/users/akaj-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaj-team/subscriptions","organizations_url":"https://api.github.com/users/akaj-team/orgs","repos_url":"https://api.github.com/users/akaj-team/repos","events_url":"https://api.github.com/users/akaj-team/events{/privacy}","received_events_url":"https://api.github.com/users/akaj-team/received_events","type":"Organization","site_admin":false},"repo":{"id":119332818,"name":"AndroidBaseProject","full_name":"akaj-team/AndroidBaseProject","owner":{"login":"akaj-team","id":33055357,"avatar_url":"https://avatars0.githubusercontent.com/u/33055357?v=4","gravatar_id":"","url":"https://api.github.com/users/akaj-team","html_url":"https://github.com/akaj-team","followers_url":"https://api.github.com/users/akaj-team/followers","following_url":"https://api.github.com/users/akaj-team/following{/other_user}","gists_url":"https://api.github.com/users/akaj-team/gists{/gist_id}","starred_url":"https://api.github.com/users/akaj-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaj-team/subscriptions","organizations_url":"https://api.github.com/users/akaj-team/orgs","repos_url":"https://api.github.com/users/akaj-team/repos","events_url":"https://api.github.com/users/akaj-team/events{/privacy}","received_events_url":"https://api.github.com/users/akaj-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akaj-team/AndroidBaseProject","description":"Demo android project with latest support libraries","fork":false,"url":"https://api.github.com/repos/akaj-team/AndroidBaseProject","forks_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/forks","keys_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/teams","hooks_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/hooks","issue_events_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues/events{/number}","events_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/events","assignees_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/assignees{/user}","branches_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/branches{/branch}","tags_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/tags","blobs_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/statuses/{sha}","languages_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/languages","stargazers_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/stargazers","contributors_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/contributors","subscribers_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/subscribers","subscription_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/subscription","commits_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/contents/{+path}","compare_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/merges","archive_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/downloads","issues_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues{/number}","pulls_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls{/number}","milestones_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/milestones{/number}","notifications_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/labels{/name}","releases_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/releases{/id}","deployments_url":"https://api.github.com/repos/akaj-team/AndroidBaseProject/deployments","created_at":"2018-01-29T04:44:00Z","updated_at":"2018-01-29T09:38:16Z","pushed_at":"2018-02-12T02:21:13Z","git_url":"git://github.com/akaj-team/AndroidBaseProject.git","ssh_url":"git@github.com:akaj-team/AndroidBaseProject.git","clone_url":"https://github.com/akaj-team/AndroidBaseProject.git","svn_url":"https://github.com/akaj-team/AndroidBaseProject","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","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":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/4"},"html":{"href":"https://github.com/akaj-team/AndroidBaseProject/pull/4"},"issue":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues/4"},"comments":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/akaj-team/AndroidBaseProject/statuses/7ee950af4160a7c624e459f4394606c9f3e775c3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"at-vinhhuynh"}}