Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
package com.ubt.jimu.controller.presenter;
import java.lang.ref.WeakReference;
/* loaded from: classes.dex */
public abstract class BasePresenter<V> {
private WeakReference<V> a;
protected void a(V v) {
this.a = new WeakReference<>(v);
}
protected V b() {
WeakReference<V> weakReference = this.a;
if (weakReference != null) {
return weakReference.get();
}
return null;
}
protected void a() {
WeakReference<V> weakReference = this.a;
if (weakReference != null) {
weakReference.clear();
this.a = null;
}
}
}