去掉手机号登录页面登录按钮防抖

This commit is contained in:
Martin 2024-10-14 13:16:03 +08:00
parent 948dfe974c
commit ad895b54d1

View File

@ -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 {
}
}
});
}
}
//注册