eventbus调用销毁整合。

This commit is contained in:
2025-10-29 11:03:42 +08:00
parent 0e0c42d57d
commit 8824498c2b
80 changed files with 268 additions and 770 deletions

View File

@@ -88,8 +88,6 @@ public class PasswordLoginActivity extends BaseMvpActivity<LoginPresenter, Activ
// 新增版本检查逻辑
checkAppVersion();
super.onCreate(savedInstanceState);
// EventBus.getDefault().register(this);
// AppLogUtil.reportAppLog(AppLogEvent.A0101);
}
private void checkAppVersion() {
// 获取当前版本号
@@ -125,7 +123,6 @@ public class PasswordLoginActivity extends BaseMvpActivity<LoginPresenter, Activ
@Override
protected void onDestroy() {
EventBus.getDefault().unregister(this);
if (phoneNumberAuthHelper!=null) {
phoneNumberAuthHelper.hideLoginLoading();
//获取成功 dimiss就去登录、登录成功