{"action":"created","comment":{"url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/comments/131866663","pull_request_review_id":54884941,"id":131866663,"diff_hunk":"@@ -0,0 +1,96 @@\n+package com.huutho.framgiatraing.activity;\n+\n+import android.content.Intent;\n+import android.os.Bundle;\n+import android.support.annotation.Nullable;\n+import android.text.TextUtils;\n+import android.widget.EditText;\n+import android.widget.ImageView;\n+import android.widget.TextView;\n+import android.widget.Toast;\n+\n+import com.huutho.framgiatraing.R;\n+import com.huutho.framgiatraing.base.BaseActivity;\n+import com.huutho.framgiatraing.utils.AccountUtils;\n+\n+import butterknife.BindView;\n+import butterknife.ButterKnife;\n+import butterknife.OnClick;\n+\n+/**\n+ * Created by huutho on 8/2/17.\n+ */\n+\n+public class LoginActivity extends BaseActivity {\n+\n+    private static final String EMAIL = \"framgia@gmail.com\";\n+    private static final String PASSWORD = \"framgia\";\n+    @BindView(R.id.edt_email)\n+    EditText mEdtEmail;\n+    @BindView(R.id.edt_password)\n+    EditText mEdtPassword;\n+    @BindView(R.id.txt_sign_in)\n+    TextView mTxtSignIn;\n+    @BindView(R.id.txt_create_account)\n+    TextView mTxtCreateAccount;\n+    @BindView(R.id.txt_forgot_password)\n+    TextView mTxtForgotPassword;\n+    @BindView(R.id.imv_twitter)\n+    ImageView mImvTwitter;\n+    @BindView(R.id.imv_facebook)\n+    ImageView mImvFacebook;\n+    @BindView(R.id.imv_google)\n+    ImageView mImvGoogle;\n+\n+\n+    @Override\n+    protected void onCreate(@Nullable Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_login);\n+        ButterKnife.bind(this);\n+    }\n+\n+\n+    @OnClick(R.id.txt_sign_in)\n+    public void signIn() {\n+        // hard code\n+        if (TextUtils.isEmpty(mEdtPassword.getText().toString())) {\n+            Toast.makeText(this, \"Password must not empty\", Toast.LENGTH_SHORT).show();\n+            return;\n+        }\n+\n+        if (AccountUtils.validateEmail(mEdtEmail.getText().toString())) {\n+            Toast.makeText(this, \"Email not valid\", Toast.LENGTH_SHORT).show();","path":"app/src/main/java/com/huutho/framgiatraing/activity/LoginActivity.java","position":63,"original_position":63,"commit_id":"0bdce364201afe0138b44a04b6a3e0a98b5b751b","original_commit_id":"153fdd9c32916cdba4698c718b78e33498a83a39","user":{"login":"nguyenhuutho","id":14016488,"avatar_url":"https://avatars2.githubusercontent.com/u/14016488?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyenhuutho","html_url":"https://github.com/nguyenhuutho","followers_url":"https://api.github.com/users/nguyenhuutho/followers","following_url":"https://api.github.com/users/nguyenhuutho/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhuutho/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhuutho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhuutho/subscriptions","organizations_url":"https://api.github.com/users/nguyenhuutho/orgs","repos_url":"https://api.github.com/users/nguyenhuutho/repos","events_url":"https://api.github.com/users/nguyenhuutho/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhuutho/received_events","type":"User","site_admin":false},"body":"Phần này fix rồi sao nó k tự mất a ơi\r\n","created_at":"2017-08-08T09:43:21Z","updated_at":"2017-08-08T09:43:21Z","html_url":"https://github.com/nguyenhuutho/FramgiaProject1/pull/3#discussion_r131866663","pull_request_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/comments/131866663"},"html":{"href":"https://github.com/nguyenhuutho/FramgiaProject1/pull/3#discussion_r131866663"},"pull_request":{"href":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/3","id":134142959,"html_url":"https://github.com/nguyenhuutho/FramgiaProject1/pull/3","diff_url":"https://github.com/nguyenhuutho/FramgiaProject1/pull/3.diff","patch_url":"https://github.com/nguyenhuutho/FramgiaProject1/pull/3.patch","issue_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues/3","number":3,"state":"open","locked":false,"title":"screen login & register","user":{"login":"nguyenhuutho","id":14016488,"avatar_url":"https://avatars2.githubusercontent.com/u/14016488?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyenhuutho","html_url":"https://github.com/nguyenhuutho","followers_url":"https://api.github.com/users/nguyenhuutho/followers","following_url":"https://api.github.com/users/nguyenhuutho/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhuutho/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhuutho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhuutho/subscriptions","organizations_url":"https://api.github.com/users/nguyenhuutho/orgs","repos_url":"https://api.github.com/users/nguyenhuutho/repos","events_url":"https://api.github.com/users/nguyenhuutho/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhuutho/received_events","type":"User","site_admin":false},"body":"1. WHAT I DO\r\n- Tạo màn hình Splash\r\n- Tạo màn hình Startup\r\n- Tạo màn hình Login\r\n- Tạo mình hình Register\r\n- Điều hướng các màn hình\r\n\r\n2. HOW TO CHECK\r\n -\r\n\r\n3. REDMINE\r\n  -\r\n\r\n4. SCREENSHOTS\r\n![device-2017-08-08-122608](https://user-images.githubusercontent.com/14016488/29057908-99e93366-7c37-11e7-8a4d-7ffed8d14687.png)\r\n![device-2017-08-08-122621](https://user-images.githubusercontent.com/14016488/29057909-99e9422a-7c37-11e7-968d-aa66ca4bd67a.png)\r\n![device-2017-08-08-122631](https://user-images.githubusercontent.com/14016488/29057910-99e95bca-7c37-11e7-9c75-eff3c13484af.png)\r\n","created_at":"2017-08-04T11:06:38Z","updated_at":"2017-08-08T09:43:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3e3627f71822fb27c1b3ce2a7e2241dee53fd32","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/3/commits","review_comments_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/3/comments","review_comment_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues/3/comments","statuses_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/statuses/0bdce364201afe0138b44a04b6a3e0a98b5b751b","head":{"label":"nguyenhuutho:LoginRegisterTask","ref":"LoginRegisterTask","sha":"0bdce364201afe0138b44a04b6a3e0a98b5b751b","user":{"login":"nguyenhuutho","id":14016488,"avatar_url":"https://avatars2.githubusercontent.com/u/14016488?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyenhuutho","html_url":"https://github.com/nguyenhuutho","followers_url":"https://api.github.com/users/nguyenhuutho/followers","following_url":"https://api.github.com/users/nguyenhuutho/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhuutho/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhuutho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhuutho/subscriptions","organizations_url":"https://api.github.com/users/nguyenhuutho/orgs","repos_url":"https://api.github.com/users/nguyenhuutho/repos","events_url":"https://api.github.com/users/nguyenhuutho/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhuutho/received_events","type":"User","site_admin":false},"repo":{"id":99295193,"name":"FramgiaProject1","full_name":"nguyenhuutho/FramgiaProject1","owner":{"login":"nguyenhuutho","id":14016488,"avatar_url":"https://avatars2.githubusercontent.com/u/14016488?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyenhuutho","html_url":"https://github.com/nguyenhuutho","followers_url":"https://api.github.com/users/nguyenhuutho/followers","following_url":"https://api.github.com/users/nguyenhuutho/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhuutho/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhuutho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhuutho/subscriptions","organizations_url":"https://api.github.com/users/nguyenhuutho/orgs","repos_url":"https://api.github.com/users/nguyenhuutho/repos","events_url":"https://api.github.com/users/nguyenhuutho/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhuutho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenhuutho/FramgiaProject1","description":null,"fork":false,"url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1","forks_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/forks","keys_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/teams","hooks_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/hooks","issue_events_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/events","assignees_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/tags","blobs_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/languages","stargazers_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/stargazers","contributors_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/contributors","subscribers_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/subscribers","subscription_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/subscription","commits_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/merges","archive_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/downloads","issues_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/labels{/name}","releases_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/deployments","created_at":"2017-08-04T02:37:44Z","updated_at":"2017-08-04T04:37:36Z","pushed_at":"2017-08-08T09:29:19Z","git_url":"git://github.com/nguyenhuutho/FramgiaProject1.git","ssh_url":"git@github.com:nguyenhuutho/FramgiaProject1.git","clone_url":"https://github.com/nguyenhuutho/FramgiaProject1.git","svn_url":"https://github.com/nguyenhuutho/FramgiaProject1","homepage":null,"size":545,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":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":"nguyenhuutho:develop","ref":"develop","sha":"d24b5c9932721186cb22eeb32784887b768b07a4","user":{"login":"nguyenhuutho","id":14016488,"avatar_url":"https://avatars2.githubusercontent.com/u/14016488?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyenhuutho","html_url":"https://github.com/nguyenhuutho","followers_url":"https://api.github.com/users/nguyenhuutho/followers","following_url":"https://api.github.com/users/nguyenhuutho/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhuutho/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhuutho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhuutho/subscriptions","organizations_url":"https://api.github.com/users/nguyenhuutho/orgs","repos_url":"https://api.github.com/users/nguyenhuutho/repos","events_url":"https://api.github.com/users/nguyenhuutho/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhuutho/received_events","type":"User","site_admin":false},"repo":{"id":99295193,"name":"FramgiaProject1","full_name":"nguyenhuutho/FramgiaProject1","owner":{"login":"nguyenhuutho","id":14016488,"avatar_url":"https://avatars2.githubusercontent.com/u/14016488?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyenhuutho","html_url":"https://github.com/nguyenhuutho","followers_url":"https://api.github.com/users/nguyenhuutho/followers","following_url":"https://api.github.com/users/nguyenhuutho/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhuutho/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhuutho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhuutho/subscriptions","organizations_url":"https://api.github.com/users/nguyenhuutho/orgs","repos_url":"https://api.github.com/users/nguyenhuutho/repos","events_url":"https://api.github.com/users/nguyenhuutho/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhuutho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenhuutho/FramgiaProject1","description":null,"fork":false,"url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1","forks_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/forks","keys_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/teams","hooks_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/hooks","issue_events_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/events","assignees_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/tags","blobs_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/languages","stargazers_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/stargazers","contributors_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/contributors","subscribers_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/subscribers","subscription_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/subscription","commits_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/merges","archive_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/downloads","issues_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/labels{/name}","releases_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/deployments","created_at":"2017-08-04T02:37:44Z","updated_at":"2017-08-04T04:37:36Z","pushed_at":"2017-08-08T09:29:19Z","git_url":"git://github.com/nguyenhuutho/FramgiaProject1.git","ssh_url":"git@github.com:nguyenhuutho/FramgiaProject1.git","clone_url":"https://github.com/nguyenhuutho/FramgiaProject1.git","svn_url":"https://github.com/nguyenhuutho/FramgiaProject1","homepage":null,"size":545,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":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/nguyenhuutho/FramgiaProject1/pulls/3"},"html":{"href":"https://github.com/nguyenhuutho/FramgiaProject1/pull/3"},"issue":{"href":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues/3"},"comments":{"href":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/nguyenhuutho/FramgiaProject1/statuses/0bdce364201afe0138b44a04b6a3e0a98b5b751b"}}}}
{"actor":{"display_login":"nguyenhuutho"}}