Live Football Updates v1.0.1版本的 MD5 值为:636649089335ebb37514551724606ad0
以下内容为反编译后的 k2.java 源代码,内容仅作参考
package a4;
import a4.b3;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
public abstract class k2<T> {
public final t f466a;
public final ki.f f467b;
public f0 f468c;
public v1<T> f469d;
public final u0 f470e;
public final CopyOnWriteArrayList<si.a<fi.j>> f471f;
public final v2 f472g;
public volatile boolean f473h;
public volatile int i;
public final j2 f474j;
public final fj.d0 f475k;
public final fj.g0 f476l;
public k2(e eVar, ki.f fVar) {
this.f466a = eVar;
this.f467b = fVar;
v1<T> v1Var = (v1<T>) v1.f678e;
ti.j.d(v1Var, "null cannot be cast to non-null type androidx.paging.PagePresenter<T of androidx.paging.PagePresenter.Companion.initial>");
this.f469d = v1Var;
u0 u0Var = new u0();
this.f470e = u0Var;
CopyOnWriteArrayList<si.a<fi.j>> copyOnWriteArrayList = new CopyOnWriteArrayList<>();
this.f471f = copyOnWriteArrayList;
this.f472g = new v2(true);
this.f474j = new j2(this);
this.f475k = u0Var.f666c;
this.f476l = e5.n0.e(0, 64, ej.a.DROP_OLDEST);
copyOnWriteArrayList.add(new e2(this));
}
public static final Object a(k2 k2Var, List list, int i, int i10, boolean z10, k0 k0Var, k0 k0Var2, f0 f0Var, ki.d dVar) {
h2 h2Var;
int i11;
boolean z11;
k0 k0Var3;
v1 v1Var;
ti.o oVar;
k2 k2Var2 = k2Var;
boolean z12 = z10;
k0 k0Var4 = k0Var;
k2Var.getClass();
if (dVar instanceof h2) {
h2Var = (h2) dVar;
int i12 = h2Var.i;
if ((i12 & Integer.MIN_VALUE) != 0) {
h2Var.i = i12 - Integer.MIN_VALUE;
h2 h2Var2 = h2Var;
Object obj = h2Var2.f426g;
li.a aVar = li.a.COROUTINE_SUSPENDED;
i11 = h2Var2.i;
if (i11 == 0) {
if (i11 == 1) {
boolean z13 = h2Var2.f425f;
oVar = h2Var2.f424e;
v1Var = h2Var2.f423d;
k0Var3 = h2Var2.f422c;
k0 k0Var5 = h2Var2.f421b;
k2 k2Var3 = h2Var2.f420a;
b1.a.p(obj);
z12 = z13;
k0Var4 = k0Var5;
k2Var2 = k2Var3;
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
} else {
b1.a.p(obj);
if (z12 && k0Var4 == null) {
z11 = false;
} else {
z11 = true;
}
if (z11) {
k2Var2.f473h = false;
v1 v1Var2 = new v1(i, i10, list);
ti.o oVar2 = new ti.o();
v1<T> v1Var3 = k2Var2.f469d;
int i13 = k2Var2.i;
i2 i2Var = new i2(k2Var, v1Var2, oVar2, f0Var, k0Var2, list, i, i10, k0Var);
h2Var2.f420a = k2Var2;
h2Var2.f421b = k0Var4;
h2Var2.f422c = k0Var2;
h2Var2.f423d = v1Var2;
h2Var2.f424e = oVar2;
h2Var2.f425f = z12;
h2Var2.i = 1;
obj = k2Var.d(v1Var3, v1Var2, i13, i2Var, h2Var2);
if (obj == aVar) {
return aVar;
}
k0Var3 = k0Var2;
v1Var = v1Var2;
oVar = oVar2;
} else {
throw new IllegalArgumentException("Cannot dispatch LoadStates in PagingDataDiffer without source LoadStates set.".toString());
}
}
Integer num = (Integer) obj;
if (!oVar.f31183a) {
if (z12) {
ti.j.c(k0Var4);
k2Var2.getClass();
u0 u0Var = k2Var2.f470e;
u0Var.getClass();
u0Var.c(new s0(u0Var, k0Var4, k0Var3));
}
if (num == null) {
f0 f0Var2 = k2Var2.f468c;
if (f0Var2 != null) {
int i14 = v1Var.f680b / 2;
f0Var2.a(new b3.b(i14, i14, v1Var.h(), v1Var.i()));
}
} else {
k2Var2.i = num.intValue();
f0 f0Var3 = k2Var2.f468c;
if (f0Var3 != null) {
f0Var3.a(v1Var.f(num.intValue()));
}
}
return fi.j.f22798a;
}
throw new IllegalStateException("Missing call to onListPresentable after new list was presented. If you are seeing\n this exception, it is generally an indication of an issue with Paging.\n Please file a bug so we can fix it at:\n https://issuetracker.google.com/issues/new?component=413106".toString());
}
}
h2Var = new h2(k2Var2, dVar);
h2 h2Var22 = h2Var;
Object obj2 = h2Var22.f426g;
li.a aVar2 = li.a.COROUTINE_SUSPENDED;
i11 = h2Var22.i;
if (i11 == 0) {
}
Integer num2 = (Integer) obj2;
if (!oVar.f31183a) {
}
}
public final T b(int i) {
boolean z10 = true;
this.f473h = true;
this.i = i;
m0 m0Var = n0.f525a;
if ((m0Var == null || !m0Var.b(2)) ? false : false) {
m0Var.a(2, "Accessing item index[" + i + ']');
}
f0 f0Var = this.f468c;
if (f0Var != null) {
f0Var.a(this.f469d.f(i));
}
v1<T> v1Var = this.f469d;
if (i >= 0) {
if (i < v1Var.a()) {
int i10 = i - v1Var.f681c;
if (i10 >= 0 && i10 < v1Var.f680b) {
return v1Var.e(i10);
}
return null;
}
} else {
v1Var.getClass();
}
StringBuilder e10 = ak.f.e("Index: ", i, ", Size: ");
e10.append(v1Var.a());
throw new IndexOutOfBoundsException(e10.toString());
}
public abstract boolean c();
public abstract Object d(v1 v1Var, v1 v1Var2, int i, i2 i2Var, ki.d dVar);
}