what-the-bank/sources/o/SQq.java

70 lines
1.7 KiB
Java

package o;
import android.content.Context;
import com.bumptech.glide.Glide;
import com.bumptech.glide.manager.LifecycleLifecycle;
import java.util.HashMap;
import java.util.Map;
import o.tXR;
/* loaded from: classes.dex */
public final class SQq {
private final tXR.LWm b;
final Map<wdQ, YSJ> c = new HashMap();
/* JADX INFO: Access modifiers changed from: package-private */
public SQq(tXR.LWm lWm) {
this.b = lWm;
}
public final YSJ d(Context context, Glide glide, wdQ wdq, yRS yrs, boolean z) {
FKd.d();
FKd.d();
YSJ ysj = this.c.get(wdq);
if (ysj != null) {
return ysj;
}
LifecycleLifecycle lifecycleLifecycle = new LifecycleLifecycle(wdq);
YSJ a = this.b.a(glide, lifecycleLifecycle, new Sts(this, yrs), context);
this.c.put(wdq, a);
lifecycleLifecycle.e(new Lco(this, wdq) { // from class: o.SQq.3
private wdQ a;
private SQq e;
@Override // o.Lco
public final void a() {
}
@Override // o.Lco
public final void c() {
}
{
this.e = this;
this.a = wdq;
}
@Override // o.Lco
public final void d() {
this.e.c.remove(this.a);
}
});
if (z) {
a.a();
}
return a;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class Sts implements InterfaceC17301vdx {
private final yRS d;
private SQq e;
Sts(SQq sQq, yRS yrs) {
this.e = sQq;
this.d = yrs;
}
}
}