去掉手机号登录页面登录按钮防抖
This commit is contained in:
parent
948dfe974c
commit
ad895b54d1
@ -168,16 +168,14 @@ public class LoginActivity extends AbsActivity {
|
||||
|
||||
|
||||
public void loginClick(View v) {
|
||||
if(v.getId()==R.id.btn_login){
|
||||
login();
|
||||
}else{
|
||||
ViewClicksAntiShake.clicksAntiShake(v, new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||
@Override
|
||||
public void onViewClicks() {
|
||||
int i = v.getId();
|
||||
if (i == R.id.btn_login) {
|
||||
//Intent intent = new Intent(LoginActivity.this, NewLiveActivity.class);
|
||||
//startActivity(intent);
|
||||
login();
|
||||
|
||||
} else if (i == R.id.btn_register) {
|
||||
if (i == R.id.btn_register) {
|
||||
register();
|
||||
} else if (i == R.id.btn_forget_pwd) {
|
||||
forgetPwd();
|
||||
@ -187,7 +185,7 @@ public class LoginActivity extends AbsActivity {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//注册
|
||||
|
Loading…
Reference in New Issue
Block a user