{"action":"created","comment":{"url":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/comments/170808826","pull_request_review_id":99551172,"id":170808826,"diff_hunk":"@@ -51,38 +67,35 @@ class RegisterActivity : AppCompatActivity(), RegisterContact.View ,ContractMain\n         image_arrow.setOnClickListener {\n             val i = Intent(this, LoginActivity::class.java)\n             startActivity(i)\n-            overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left) }\n+            overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left)\n+        }\n     }\n \n     private fun setonFocusChangeListener() {\n         edt_Name.onFocusChangeListener = OnFocusChangeListener { _, _ ->\n-            if(edt_Name.text.length>30){\n+            if (edt_Name.text.length > 30) {\n                 edt_Name.error = \"Please check Character length\"\n-            } }\n+            }\n+        }\n         edt_Password.onFocusChangeListener = OnFocusChangeListener { _, _ ->\n-            if(edt_Password.text.length!=6){\n+            if (edt_Password.text.length != 6) {\n                 edt_Password.error = \"Please check Character length\"\n-            } }\n+            }\n+        }\n         edt_re_Password.onFocusChangeListener = OnFocusChangeListener { _, _ ->\n-            if(edt_re_Password.text.length!=6){\n+            if (edt_re_Password.text.length != 6) {\n                 edt_re_Password.error = \"Please check Character length\"\n-            } }\n+            }\n+        }\n     }\n \n-    override fun contactPresenter(Status: String,id_facebook:String?, name: String?, email: String?, password: String?,path_image:String?) {\n-        if(Status == \"true\"){\n-            Toast.makeText(applicationContext, \"$Status $id_facebook $name $email  $password $path_image $imageBodyPartImage \" , Toast.LENGTH_LONG).show()\n-            //var presenter: ContractMain.CallPresenter? = SetCallRequest(this)\n-           // presenter?.callRegister(\"\",\"\",\"\",\"\",imageBodyPartImage)\n-        }else{\n-            Toast.makeText(applicationContext, \"$Status \" , Toast.LENGTH_LONG).show()\n-        } }\n-\n     private fun setButtonSubmitRegister() {\n         btnSubmit.setOnClickListener {\n-            val model=RegisterContactModel(idFacebook,edt_Name.text.toString(),edt_Email.text.toString()\n-                    ,edt_Password.text.toString(),edt_re_Password.text.toString(),image)\n-            presenter.checkEdiText(model, this)\n+            val model = Register(idFacebook, edt_Name.text.toString(), edt_Email.text.toString()","path":"app/src/main/java/com/example/msigl62/coworkandroiduset/ui/register/RegisterActivity.kt","position":119,"original_position":119,"commit_id":"d725900202982fc967f7b2e8d58223c72ad11955","original_commit_id":"d725900202982fc967f7b2e8d58223c72ad11955","user":{"login":"flukebevil","id":22112865,"avatar_url":"https://avatars0.githubusercontent.com/u/22112865?v=4","gravatar_id":"","url":"https://api.github.com/users/flukebevil","html_url":"https://github.com/flukebevil","followers_url":"https://api.github.com/users/flukebevil/followers","following_url":"https://api.github.com/users/flukebevil/following{/other_user}","gists_url":"https://api.github.com/users/flukebevil/gists{/gist_id}","starred_url":"https://api.github.com/users/flukebevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flukebevil/subscriptions","organizations_url":"https://api.github.com/users/flukebevil/orgs","repos_url":"https://api.github.com/users/flukebevil/repos","events_url":"https://api.github.com/users/flukebevil/events{/privacy}","received_events_url":"https://api.github.com/users/flukebevil/received_events","type":"User","site_admin":false},"body":"พี่ๆ Register นั้นมัน model นะพี่ ผมแอดข้อมูลเข้า model เฉยๆ ครับ","created_at":"2018-02-27T03:48:55Z","updated_at":"2018-02-27T03:48:55Z","html_url":"https://github.com/officialjedsada/co-work-android/pull/9#discussion_r170808826","pull_request_url":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/9","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/comments/170808826"},"html":{"href":"https://github.com/officialjedsada/co-work-android/pull/9#discussion_r170808826"},"pull_request":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/9"}},"in_reply_to_id":170807362},"pull_request":{"url":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/9","id":171348882,"html_url":"https://github.com/officialjedsada/co-work-android/pull/9","diff_url":"https://github.com/officialjedsada/co-work-android/pull/9.diff","patch_url":"https://github.com/officialjedsada/co-work-android/pull/9.patch","issue_url":"https://api.github.com/repos/officialjedsada/co-work-android/issues/9","number":9,"state":"open","locked":false,"title":"Register unittest","user":{"login":"flukebevil","id":22112865,"avatar_url":"https://avatars0.githubusercontent.com/u/22112865?v=4","gravatar_id":"","url":"https://api.github.com/users/flukebevil","html_url":"https://github.com/flukebevil","followers_url":"https://api.github.com/users/flukebevil/followers","following_url":"https://api.github.com/users/flukebevil/following{/other_user}","gists_url":"https://api.github.com/users/flukebevil/gists{/gist_id}","starred_url":"https://api.github.com/users/flukebevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flukebevil/subscriptions","organizations_url":"https://api.github.com/users/flukebevil/orgs","repos_url":"https://api.github.com/users/flukebevil/repos","events_url":"https://api.github.com/users/flukebevil/events{/privacy}","received_events_url":"https://api.github.com/users/flukebevil/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-26T11:31:24Z","updated_at":"2018-02-27T03:48:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28567635d34152b5b82686dd932faabad1a729a8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"potikorn","id":18239662,"avatar_url":"https://avatars2.githubusercontent.com/u/18239662?v=4","gravatar_id":"","url":"https://api.github.com/users/potikorn","html_url":"https://github.com/potikorn","followers_url":"https://api.github.com/users/potikorn/followers","following_url":"https://api.github.com/users/potikorn/following{/other_user}","gists_url":"https://api.github.com/users/potikorn/gists{/gist_id}","starred_url":"https://api.github.com/users/potikorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potikorn/subscriptions","organizations_url":"https://api.github.com/users/potikorn/orgs","repos_url":"https://api.github.com/users/potikorn/repos","events_url":"https://api.github.com/users/potikorn/events{/privacy}","received_events_url":"https://api.github.com/users/potikorn/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/9/commits","review_comments_url":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/9/comments","review_comment_url":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/officialjedsada/co-work-android/issues/9/comments","statuses_url":"https://api.github.com/repos/officialjedsada/co-work-android/statuses/d725900202982fc967f7b2e8d58223c72ad11955","head":{"label":"officialjedsada:register-unittest","ref":"register-unittest","sha":"d725900202982fc967f7b2e8d58223c72ad11955","user":{"login":"officialjedsada","id":24611167,"avatar_url":"https://avatars2.githubusercontent.com/u/24611167?v=4","gravatar_id":"","url":"https://api.github.com/users/officialjedsada","html_url":"https://github.com/officialjedsada","followers_url":"https://api.github.com/users/officialjedsada/followers","following_url":"https://api.github.com/users/officialjedsada/following{/other_user}","gists_url":"https://api.github.com/users/officialjedsada/gists{/gist_id}","starred_url":"https://api.github.com/users/officialjedsada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/officialjedsada/subscriptions","organizations_url":"https://api.github.com/users/officialjedsada/orgs","repos_url":"https://api.github.com/users/officialjedsada/repos","events_url":"https://api.github.com/users/officialjedsada/events{/privacy}","received_events_url":"https://api.github.com/users/officialjedsada/received_events","type":"User","site_admin":false},"repo":{"id":122195889,"name":"co-work-android","full_name":"officialjedsada/co-work-android","owner":{"login":"officialjedsada","id":24611167,"avatar_url":"https://avatars2.githubusercontent.com/u/24611167?v=4","gravatar_id":"","url":"https://api.github.com/users/officialjedsada","html_url":"https://github.com/officialjedsada","followers_url":"https://api.github.com/users/officialjedsada/followers","following_url":"https://api.github.com/users/officialjedsada/following{/other_user}","gists_url":"https://api.github.com/users/officialjedsada/gists{/gist_id}","starred_url":"https://api.github.com/users/officialjedsada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/officialjedsada/subscriptions","organizations_url":"https://api.github.com/users/officialjedsada/orgs","repos_url":"https://api.github.com/users/officialjedsada/repos","events_url":"https://api.github.com/users/officialjedsada/events{/privacy}","received_events_url":"https://api.github.com/users/officialjedsada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/officialjedsada/co-work-android","description":null,"fork":false,"url":"https://api.github.com/repos/officialjedsada/co-work-android","forks_url":"https://api.github.com/repos/officialjedsada/co-work-android/forks","keys_url":"https://api.github.com/repos/officialjedsada/co-work-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/officialjedsada/co-work-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/officialjedsada/co-work-android/teams","hooks_url":"https://api.github.com/repos/officialjedsada/co-work-android/hooks","issue_events_url":"https://api.github.com/repos/officialjedsada/co-work-android/issues/events{/number}","events_url":"https://api.github.com/repos/officialjedsada/co-work-android/events","assignees_url":"https://api.github.com/repos/officialjedsada/co-work-android/assignees{/user}","branches_url":"https://api.github.com/repos/officialjedsada/co-work-android/branches{/branch}","tags_url":"https://api.github.com/repos/officialjedsada/co-work-android/tags","blobs_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/officialjedsada/co-work-android/statuses/{sha}","languages_url":"https://api.github.com/repos/officialjedsada/co-work-android/languages","stargazers_url":"https://api.github.com/repos/officialjedsada/co-work-android/stargazers","contributors_url":"https://api.github.com/repos/officialjedsada/co-work-android/contributors","subscribers_url":"https://api.github.com/repos/officialjedsada/co-work-android/subscribers","subscription_url":"https://api.github.com/repos/officialjedsada/co-work-android/subscription","commits_url":"https://api.github.com/repos/officialjedsada/co-work-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/officialjedsada/co-work-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/officialjedsada/co-work-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/officialjedsada/co-work-android/contents/{+path}","compare_url":"https://api.github.com/repos/officialjedsada/co-work-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/officialjedsada/co-work-android/merges","archive_url":"https://api.github.com/repos/officialjedsada/co-work-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/officialjedsada/co-work-android/downloads","issues_url":"https://api.github.com/repos/officialjedsada/co-work-android/issues{/number}","pulls_url":"https://api.github.com/repos/officialjedsada/co-work-android/pulls{/number}","milestones_url":"https://api.github.com/repos/officialjedsada/co-work-android/milestones{/number}","notifications_url":"https://api.github.com/repos/officialjedsada/co-work-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/officialjedsada/co-work-android/labels{/name}","releases_url":"https://api.github.com/repos/officialjedsada/co-work-android/releases{/id}","deployments_url":"https://api.github.com/repos/officialjedsada/co-work-android/deployments","created_at":"2018-02-20T12:34:05Z","updated_at":"2018-02-21T04:08:35Z","pushed_at":"2018-02-26T13:40:00Z","git_url":"git://github.com/officialjedsada/co-work-android.git","ssh_url":"git@github.com:officialjedsada/co-work-android.git","clone_url":"https://github.com/officialjedsada/co-work-android.git","svn_url":"https://github.com/officialjedsada/co-work-android","homepage":null,"size":261,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"officialjedsada:register","ref":"register","sha":"88435a659db5639a178865778b3a14d5202afab1","user":{"login":"officialjedsada","id":24611167,"avatar_url":"https://avatars2.githubusercontent.com/u/24611167?v=4","gravatar_id":"","url":"https://api.github.com/users/officialjedsada","html_url":"https://github.com/officialjedsada","followers_url":"https://api.github.com/users/officialjedsada/followers","following_url":"https://api.github.com/users/officialjedsada/following{/other_user}","gists_url":"https://api.github.com/users/officialjedsada/gists{/gist_id}","starred_url":"https://api.github.com/users/officialjedsada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/officialjedsada/subscriptions","organizations_url":"https://api.github.com/users/officialjedsada/orgs","repos_url":"https://api.github.com/users/officialjedsada/repos","events_url":"https://api.github.com/users/officialjedsada/events{/privacy}","received_events_url":"https://api.github.com/users/officialjedsada/received_events","type":"User","site_admin":false},"repo":{"id":122195889,"name":"co-work-android","full_name":"officialjedsada/co-work-android","owner":{"login":"officialjedsada","id":24611167,"avatar_url":"https://avatars2.githubusercontent.com/u/24611167?v=4","gravatar_id":"","url":"https://api.github.com/users/officialjedsada","html_url":"https://github.com/officialjedsada","followers_url":"https://api.github.com/users/officialjedsada/followers","following_url":"https://api.github.com/users/officialjedsada/following{/other_user}","gists_url":"https://api.github.com/users/officialjedsada/gists{/gist_id}","starred_url":"https://api.github.com/users/officialjedsada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/officialjedsada/subscriptions","organizations_url":"https://api.github.com/users/officialjedsada/orgs","repos_url":"https://api.github.com/users/officialjedsada/repos","events_url":"https://api.github.com/users/officialjedsada/events{/privacy}","received_events_url":"https://api.github.com/users/officialjedsada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/officialjedsada/co-work-android","description":null,"fork":false,"url":"https://api.github.com/repos/officialjedsada/co-work-android","forks_url":"https://api.github.com/repos/officialjedsada/co-work-android/forks","keys_url":"https://api.github.com/repos/officialjedsada/co-work-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/officialjedsada/co-work-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/officialjedsada/co-work-android/teams","hooks_url":"https://api.github.com/repos/officialjedsada/co-work-android/hooks","issue_events_url":"https://api.github.com/repos/officialjedsada/co-work-android/issues/events{/number}","events_url":"https://api.github.com/repos/officialjedsada/co-work-android/events","assignees_url":"https://api.github.com/repos/officialjedsada/co-work-android/assignees{/user}","branches_url":"https://api.github.com/repos/officialjedsada/co-work-android/branches{/branch}","tags_url":"https://api.github.com/repos/officialjedsada/co-work-android/tags","blobs_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/officialjedsada/co-work-android/statuses/{sha}","languages_url":"https://api.github.com/repos/officialjedsada/co-work-android/languages","stargazers_url":"https://api.github.com/repos/officialjedsada/co-work-android/stargazers","contributors_url":"https://api.github.com/repos/officialjedsada/co-work-android/contributors","subscribers_url":"https://api.github.com/repos/officialjedsada/co-work-android/subscribers","subscription_url":"https://api.github.com/repos/officialjedsada/co-work-android/subscription","commits_url":"https://api.github.com/repos/officialjedsada/co-work-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/officialjedsada/co-work-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/officialjedsada/co-work-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/officialjedsada/co-work-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/officialjedsada/co-work-android/contents/{+path}","compare_url":"https://api.github.com/repos/officialjedsada/co-work-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/officialjedsada/co-work-android/merges","archive_url":"https://api.github.com/repos/officialjedsada/co-work-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/officialjedsada/co-work-android/downloads","issues_url":"https://api.github.com/repos/officialjedsada/co-work-android/issues{/number}","pulls_url":"https://api.github.com/repos/officialjedsada/co-work-android/pulls{/number}","milestones_url":"https://api.github.com/repos/officialjedsada/co-work-android/milestones{/number}","notifications_url":"https://api.github.com/repos/officialjedsada/co-work-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/officialjedsada/co-work-android/labels{/name}","releases_url":"https://api.github.com/repos/officialjedsada/co-work-android/releases{/id}","deployments_url":"https://api.github.com/repos/officialjedsada/co-work-android/deployments","created_at":"2018-02-20T12:34:05Z","updated_at":"2018-02-21T04:08:35Z","pushed_at":"2018-02-26T13:40:00Z","git_url":"git://github.com/officialjedsada/co-work-android.git","ssh_url":"git@github.com:officialjedsada/co-work-android.git","clone_url":"https://github.com/officialjedsada/co-work-android.git","svn_url":"https://github.com/officialjedsada/co-work-android","homepage":null,"size":261,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/9"},"html":{"href":"https://github.com/officialjedsada/co-work-android/pull/9"},"issue":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/issues/9"},"comments":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/officialjedsada/co-work-android/statuses/d725900202982fc967f7b2e8d58223c72ad11955"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"flukebevil"}}