导航菜单

页面标题

页面副标题

MedEd v5.3.6 - QuizSummaryActivity.java 源代码

正在查看: MedEd v5.3.6 应用的 QuizSummaryActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.penpencil.physicswallah.feature.quiz.presentation.activity;

import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.firebase.crashlytics.internal.common.neuJ.RQYHXsi;
import com.penpencil.network.response.ExerciseResultData;
import com.penpencil.network.response.Questions;
import com.penpencil.physicswallah.dialog.test_series_qbank.WarningDialog;
import com.penpencil.physicswallah.feature.extras.presentation.c;
import com.penpencil.physicswallah.feature.home.presentation.ui.AppNavigationContainerActivity;
import com.penpencil.physicswallah.feature.library.presentation.activity.NeetPGChapterWiseContentActivity;
import com.penpencil.player.models.CourseCredential;
import defpackage.Ph;
import java.util.ArrayList;
import java.util.List;
import kotlin.Pair;
import kotlin.time.wTiX.HgwdN;

public class QuizSummaryActivity extends rR0 implements WarningDialog.a, tj2 {
    public static final int g1 = 0;
    public hI I0;
    public Zm2 J0;
    public jV1 K0;
    public Ph L0;
    public String M0;
    public String O0;
    public ExerciseResultData Q0;
    public String Y0;
    public String Z0;
    public h93 a1;

    @BindView
    TextView accuracyTv;
    public DY0 b1;

    @BindView
    TextView completedTv;

    @BindView
    TextView correctTv;

    @BindView
    TextView incorrectTv;

    @BindView
    TextView qBankBackBtn;

    @BindView
    TextView skippedTv;

    @BindView
    TextView testNameTv;

    @BindView
    TextView timeTv;
    public String N0 = "";
    public List<Questions> P0 = new ArrayList();
    public int R0 = 0;
    public int S0 = 0;
    public int T0 = 0;
    public int U0 = 0;
    public final ArrayList V0 = new ArrayList();
    public long W0 = 0;
    public String X0 = " ";
    public CourseCredential c1 = null;
    public String d1 = "";
    public String e1 = "";
    public Integer f1 = -1;

    @OnClick
    public void back(View view) {
        U0();
    }

    public final void n(String str) {
    }

    public final void onBackPressed() {
        if (this.K0.c().v().equals("home_page")) {
            finish();
            return;
        }
        if (TextUtils.isEmpty(this.K0.c().v())) {
            return;
        }
        if (!this.K0.c().v().equals("resumeSubjects")) {
            finish();
            return;
        }
        Intent intent = new Intent((Context) this, (Class<?>) AppNavigationContainerActivity.class);
        intent.setFlags(67108864);
        startActivity(intent);
        overridePendingTransition(2130772020, 2130772021);
    }

    public final void onCreate(android.os.Bundle r18) {
        throw new UnsupportedOperationException("Method not decompiled: com.penpencil.physicswallah.feature.quiz.presentation.activity.QuizSummaryActivity.onCreate(android.os.Bundle):void");
    }

    public final void onResume() {
        S0();
        super/*androidx.fragment.app.e*/.onResume();
    }

    @OnClick
    public void openSolutionsActivity() {
        T0("Loading Solutions");
        h93 h93Var = this.a1;
        String str = this.Y0;
        U23 e = h93Var.b.e();
        e.getClass();
        lH1 lh1 = new lH1();
        e.a.b().getTestPreview(str).d(VF2.a()).a(Jc.a()).c(new S23(lh1));
        lh1.f(this, new c(this, 2));
        Zm2 zm2 = this.J0;
        String str2 = this.d1;
        String str3 = this.X0;
        String str4 = this.N0;
        String str5 = this.Z0;
        zm2.getClass();
        Pair[] pairArr = new Pair[4];
        if (str2 == null) {
            str2 = UW2.e(QW2.a);
        }
        pairArr[0] = new Pair("subject_name", str2);
        if (str3 == null) {
            str3 = UW2.e(QW2.a);
        }
        pairArr[1] = new Pair("chapter_name", str3);
        if (str4 == null) {
            str4 = UW2.e(QW2.a);
        }
        pairArr[2] = new Pair("topic_name", str4);
        if (str5 == null) {
            str5 = UW2.e(QW2.a);
        }
        pairArr[3] = new Pair("source", str5);
        zm2.c("neet_qbank_solution", Ls1.i(pairArr));
    }

    @OnClick
    public void qBankBack(View view) {
        U0();
    }

    public final void U0() {
        if (!this.K0.c().v().equals("neetpgSearchLanding")) {
            onBackPressed();
            return;
        }
        Intent intent = new Intent((Context) this, (Class<?>) NeetPGChapterWiseContentActivity.class);
        CourseCredential courseCredential = this.c1;
        if (courseCredential != null) {
            intent.putExtra("subjectName", courseCredential.getCourseName());
        }
        intent.putExtra("programId", this.I0.a().getProgramId());
        CourseCredential courseCredential2 = this.c1;
        if (courseCredential2 != null) {
            intent.putExtra(RQYHXsi.wWMKkOAiSiIaGu, courseCredential2.getSubjectId());
        }
        intent.putExtra(HgwdN.ZuM, "Exercise");
        rH.b = true;
        startActivity(intent);
    }
}