正在查看: MedEd v5.3.6 应用的 NeetPGAllClassesActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: MedEd v5.3.6 应用的 NeetPGAllClassesActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.penpencil.physicswallah.feature.batch.presentation.activity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import androidx.lifecycle.I;
import androidx.paging.P;
import androidx.paging.U;
import androidx.paging.g;
import androidx.paging.v;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.gson.Gson;
import com.penpencil.network.response.BatchData;
import com.penpencil.network.response.Subject;
import com.penpencil.physicswallah.feature.profile.presentation.activity.NeetPGUserProfileActivity;
import defpackage.AQ0;
import defpackage.GG;
import defpackage.PM1;
import defpackage.QL1;
import defpackage.UP2;
import defpackage.Vs;
import kotlin.jvm.internal.Intrinsics;
public class NeetPGAllClassesActivity extends AQ0 {
public BatchData I0;
public Subject J0;
public Vs K0;
public PM1 L0;
@BindView
RecyclerView chapterRcv;
@BindView
TextView subjectNameTv;
@OnClick
public void back(View view) {
onBackPressed();
}
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(2131558957);
ButterKnife.b(this);
if (!TextUtils.isEmpty(((rp) this).C0.c().d())) {
this.I0 = (BatchData) new Gson().d(BatchData.class, ((rp) this).C0.c().d());
}
if (!TextUtils.isEmpty(((rp) this).C0.c().y())) {
this.J0 = (Subject) new Gson().d(Subject.class, ((rp) this).C0.c().y());
}
Intrinsics.checkNotNullParameter(this, "owner");
Qt3 viewModelStore = getViewModelStore();
I.c c = Pt3.c(this);
SW b = Pt3.b(this);
Intrinsics.checkNotNullParameter(viewModelStore, "store");
Intrinsics.checkNotNullParameter(c, "factory");
Ot3 b2 = Yd.b(b, "defaultCreationExtras", viewModelStore, c, b);
EG b3 = Y0.b(Vs.class, "modelClass", Vs.class, "<this>", Vs.class);
Intrinsics.checkNotNullParameter(b3, "modelClass");
this.K0 = (Vs) Ot3.b(b2, b3);
String str = PV1.b;
final int i = 0;
a.a(this).f(this, new b02() {
public final void a(Object obj) {
int i2 = i;
NeetPGUserProfileActivity neetPGUserProfileActivity = this;
switch (i2) {
case 0:
NeetPGAllClassesActivity neetPGAllClassesActivity = (NeetPGAllClassesActivity) neetPGUserProfileActivity;
neetPGAllClassesActivity.subjectNameTv.setText(neetPGAllClassesActivity.J0.getSubject());
if (neetPGAllClassesActivity.getResources().getBoolean(2131034120)) {
neetPGAllClassesActivity.chapterRcv.setLayoutManager(new GridLayoutManager(2));
} else {
neetPGAllClassesActivity.chapterRcv.setLayoutManager(new LinearLayoutManager(1));
}
PM1 pm1 = new PM1(neetPGAllClassesActivity, neetPGAllClassesActivity.I0, neetPGAllClassesActivity.J0, ((rp) neetPGAllClassesActivity).C0);
neetPGAllClassesActivity.L0 = pm1;
neetPGAllClassesActivity.chapterRcv.setAdapter(pm1);
Vs vs = neetPGAllClassesActivity.K0;
jV1 jv1 = ((rp) neetPGAllClassesActivity).C0;
String str2 = neetPGAllClassesActivity.I0.get_id();
String str3 = neetPGAllClassesActivity.J0.get_id();
UP2 up2 = new UP2(neetPGAllClassesActivity.chapterRcv, neetPGAllClassesActivity.L0, 2131558675, 10);
vs.getClass();
GG gg = new GG();
gg.a = str2;
gg.b = str3;
gg.c = neetPGAllClassesActivity;
gg.d = up2;
gg.e = jv1;
Intrinsics.checkNotNullParameter(gg, "dataSourceFactory");
P.c cVar = Vs.d;
Intrinsics.checkNotNullParameter(cVar, "config");
yi yiVar = zi.f;
Intrinsics.checkNotNullExpressionValue(yiVar, "getIOThreadExecutor()");
OU c2 = sX2.c(yiVar);
Intrinsics.checkNotNullParameter(c2, "fetchDispatcher");
LZ2 lz2 = new LZ2(c2, new g(c2, gg));
xi xiVar = zi.e;
Intrinsics.checkNotNullExpressionValue(xiVar, "getMainThreadExecutor()");
new v(cVar, (P.a) null, lz2, sX2.c(xiVar), c2).f(neetPGAllClassesActivity, new QL1(neetPGAllClassesActivity, 0));
break;
default:
NeetPGUserProfileActivity neetPGUserProfileActivity2 = neetPGUserProfileActivity;
int i3 = NeetPGUserProfileActivity.W0;
neetPGUserProfileActivity2.S0();
cV2 cv2 = neetPGUserProfileActivity2.K0;
cv2.setValue((U) obj);
ER1.d(neetPGUserProfileActivity2, "Select College", neetPGUserProfileActivity2.R0, cv2, new a0(neetPGUserProfileActivity2, 2), new n81(neetPGUserProfileActivity2, 3));
break;
}
}
});
}
}