Files
rr3-apk/decompiled/sources/com/mbridge/msdk/newreward/a/b/h.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

61 lines
2.3 KiB
Java

package com.mbridge.msdk.newreward.a.b;
import android.content.Context;
import android.graphics.Bitmap;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes4.dex */
public final class h implements com.mbridge.msdk.newreward.a.b.a {
@Override // com.mbridge.msdk.newreward.a.b.a
public final void a(Object obj, b bVar) throws IOException {
List<CampaignEx.c.a> a2;
com.mbridge.msdk.newreward.function.c.a.a aVar = (com.mbridge.msdk.newreward.function.c.a.a) obj;
CampaignEx h = aVar.h();
String imageUrl = h.getImageUrl();
Context c = com.mbridge.msdk.foundation.controller.c.m().c();
com.mbridge.msdk.foundation.same.c.b.a(c).a(imageUrl, new a(aVar, bVar));
com.mbridge.msdk.foundation.same.c.b.a(c).a(h.getIconUrl(), new a(aVar, bVar));
CampaignEx.c rewardTemplateMode = h.getRewardTemplateMode();
if (rewardTemplateMode == null || (a2 = rewardTemplateMode.a()) == null) {
return;
}
Iterator<CampaignEx.c.a> it = a2.iterator();
while (it.hasNext()) {
List<String> list = it.next().a;
if (list != null) {
Iterator<String> it2 = list.iterator();
while (it2.hasNext()) {
com.mbridge.msdk.foundation.same.c.b.a(c).a(it2.next(), new a(aVar, bVar));
}
}
}
}
public static final class a implements com.mbridge.msdk.foundation.same.c.c {
private final com.mbridge.msdk.newreward.function.c.a.a a;
private final b b;
public a(com.mbridge.msdk.newreward.function.c.a.a aVar, b bVar) {
this.a = aVar;
this.b = bVar;
}
@Override // com.mbridge.msdk.foundation.same.c.c
public final void onFailedLoad(String str, String str2) {
if (this.b != null && this.a.i().y()) {
this.b.reqSuccessful(this.a);
}
}
@Override // com.mbridge.msdk.foundation.same.c.c
public final void onSuccessLoad(Bitmap bitmap, String str) {
if (this.b != null && this.a.i().y()) {
this.b.reqSuccessful(this.a);
}
}
}
}