[登录fragment 内存泄漏、登录前先走一遍通用接口]
This commit is contained in:
yangyakun
2024-04-24 21:31:31 +08:00
parent 7258d2d50d
commit bf3f5e340b
15 changed files with 273 additions and 252 deletions

View File

@@ -51,6 +51,7 @@ public abstract class Presenter< V extends IView > implements LifecycleObserver
@OnLifecycleEvent( Lifecycle.Event.ON_DESTROY )
public void onDestroy( @NonNull LifecycleOwner owner ) {
this.mView = null;
}
@OnLifecycleEvent( Lifecycle.Event.ON_ANY )