正在查看: MedEd v5.3.6 应用的 NeetPGClassActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: MedEd v5.3.6 应用的 NeetPGClassActivity.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.fragment.app.FragmentManager;
import androidx.fragment.app.a;
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.BatchTopicsData;
import com.penpencil.network.response.Subject;
import com.penpencil.network.response.TopicNameData;
import com.penpencil.ts.ui.bt.PJbMPKvhQpbT;
public class NeetPGClassActivity extends KQ0 implements a {
public static final int Q0 = 0;
public FragmentManager I0;
public BatchData J0;
public Subject K0;
public BatchTopicsData L0;
public Ks M0;
public final a N0;
public String O0;
public boolean P0;
@BindView
TextView classTopicTv;
@BindView
RecyclerView topicTypeRcv;
public final void U0(cs3 cs3Var) {
FragmentManager fragmentManager = this.I0;
fragmentManager.getClass();
a aVar = new a(fragmentManager);
aVar.g(2131362164, cs3Var, (String) null);
aVar.j(true);
}
public final void onCreate(Bundle bundle) {
super/*rp*/.onCreate(bundle);
setContentView(2131558958);
ButterKnife.b(this);
this.O0 = getIntent().getStringExtra("chapterId");
if (!TextUtils.isEmpty(((rp) this).C0.c().d())) {
this.J0 = (BatchData) new Gson().d(BatchData.class, ((rp) this).C0.c().d());
}
if (!TextUtils.isEmpty(((rp) this).C0.c().y())) {
this.K0 = (Subject) new Gson().d(Subject.class, ((rp) this).C0.c().y());
}
bp1 c = ((rp) this).C0.c();
a aVar = a.O;
if (!TextUtils.isEmpty(c.a.l(aVar))) {
this.L0 = (BatchTopicsData) new Gson().d(BatchTopicsData.class, ((rp) this).C0.c().a.l(aVar));
}
this.I0 = getSupportFragmentManager();
int intExtra = getIntent().getIntExtra("ClassPosition", 0);
BatchTopicsData batchTopicsData = this.L0;
if (batchTopicsData != null) {
this.classTopicTv.setText(batchTopicsData.getName());
}
this.topicTypeRcv.setLayoutManager(new LinearLayoutManager(0));
RecyclerView recyclerView = this.topicTypeRcv;
Ks ks = this.M0;
UP2 up2 = new UP2();
a aVar2 = new a(recyclerView);
aVar2.a = ks;
aVar2.d = 2131558566;
aVar2.c = 8;
up2.b = aVar2;
up2.b();
Gr a = ((rp) this).C0.a();
String str = this.J0.get_id();
String str2 = this.K0.get_id();
a.getClass();
lH1 lh1 = new lH1();
a.a.b().getTopicsName(str, str2).d(VF2.a()).a(Jc.a()).c(new wr(lh1));
lh1.f(this, new b(this, up2, intExtra));
this.J0.getName();
this.K0.getSubject();
if (this.J0.getConfig() != null) {
this.P0 = this.J0.getConfig().isSubjective();
}
}
@OnClick
public void previousActivity(View view) {
finish();
}
public NeetPGClassActivity() {
a aVar = new a();
aVar.add(new TopicNameData("Videos", "videos", false));
aVar.add(new TopicNameData(PJbMPKvhQpbT.FKSaHJ, "notes", false));
aVar.add(new TopicNameData("Quiz", "exercises", false));
this.N0 = aVar;
this.P0 = false;
}
}