导航菜单

页面标题

页面副标题

MedEd v5.3.6 - GyanGuruFullImageActivity.java 源代码

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

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


package com.gyanguru.ui.fullimage;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import androidx.databinding.DataBinderMapperImpl;
import com.bumptech.glide.Glide;
import com.gyanguru.ui.GyanGuruActivity;
import com.gyanguru.ui.fullimage.GyanGuruFullImageActivity;
import com.penpencil.physicswallah.feature.batch.presentation.activity.BatchOverviewActivity;
import com.penpencil.physicswallah.feature.batch.presentation.fragment.NeetPgDescriptionFragment;
import com.penpencil.physicswallah.feature.bookmark.presentation.fragment.NeetBookmarkHomeFragment;
import com.penpencil.physicswallah.feature.extras.presentation.NeetPGContactUsActivity;
import com.penpencil.physicswallah.feature.extras.presentation.OfflineVideos;
import com.penpencil.physicswallah.feature.home.presentation.ui.AppNavigationContainerActivity;
import com.penpencil.physicswallah.feature.library.presentation.activity.NeetPGChapterWiseContentActivity;
import defpackage.C0580xq2;
import defpackage.R5;
import defpackage.TP0;
import defpackage.wN0;
import java.util.ArrayList;
import kotlin.Metadata;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;

@Metadata
public final class GyanGuruFullImageActivity extends TP0<R5, wN0> {
    public static final int H0 = 0;

    public class a extends RE0 implements Function1<LayoutInflater, R5> {
        public static final a i = new a();

        public a() {
            super(1, R5.class, "inflate", "inflate(Landroid/view/LayoutInflater;)Lcom/gyanguru/databinding/ActivityGyanGuruFullImageBinding;", 0);
        }

        public final Object invoke(Object obj) {
            LayoutInflater layoutInflater = (LayoutInflater) obj;
            Intrinsics.checkNotNullParameter(layoutInflater, "p0");
            int i2 = R5.u;
            DataBinderMapperImpl dataBinderMapperImpl = a00.a;
            return (R5) Hs3.p(layoutInflater, C0580xq2.activity_gyan_guru_full_image, (ViewGroup) null, (Object) null);
        }
    }

    public GyanGuruFullImageActivity() {
        super(new vM0(0));
        a aVar = a.i;
    }

    @Override
    public final void S0(Ur3 ur3) {
        Intrinsics.checkNotNullParameter((R5) ur3, "<this>");
    }

    @Override
    public final void V0(Ur3 ur3, Et3 et3) {
        Intrinsics.checkNotNullParameter((R5) ur3, "<this>");
        Intrinsics.checkNotNullParameter((wN0) et3, "vm");
        Intent intent = getIntent();
        String stringExtra = intent != null ? intent.getStringExtra("EXTRA_IMAGE_URL") : null;
        Intent intent2 = getIntent();
        if (Intrinsics.b(intent2 != null ? Boolean.valueOf(intent2.getBooleanExtra("EXTRA_IS_URI", false)) : null, Boolean.TRUE)) {
            Glide.b(this).c(this).o(Uri.parse(stringExtra)).F(R0().t);
        } else {
            Glide.b(this).c(this).r(stringExtra).F(R0().t);
        }
        final int i = 1;
        R0().s.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                int i2 = i;
                Object obj = this;
                switch (i2) {
                    case 0:
                        GyanGuruActivity gyanGuruActivity = (GyanGuruActivity) obj;
                        int i3 = GyanGuruActivity.d1;
                        Intrinsics.checkNotNullParameter(gyanGuruActivity, "this$0");
                        gyanGuruActivity.g1();
                        return;
                    case 1:
                        d52 d52Var = (GyanGuruFullImageActivity) obj;
                        int i4 = GyanGuruFullImageActivity.H0;
                        Intrinsics.checkNotNullParameter(d52Var, "this$0");
                        d52Var.finish();
                        return;
                    case 2:
                        BatchOverviewActivity batchOverviewActivity = (BatchOverviewActivity) obj;
                        int i5 = BatchOverviewActivity.V0;
                        batchOverviewActivity.getClass();
                        batchOverviewActivity.startActivity(new Intent((Context) batchOverviewActivity, (Class<?>) OfflineVideos.class));
                        return;
                    case 3:
                        NeetPgDescriptionFragment neetPgDescriptionFragment = (NeetPgDescriptionFragment) obj;
                        int i6 = NeetPgDescriptionFragment.w;
                        neetPgDescriptionFragment.getClass();
                        Intent intent3 = new Intent(neetPgDescriptionFragment.requireContext(), (Class<?>) NeetPGContactUsActivity.class);
                        intent3.putExtra("type", "BATCH");
                        intent3.putExtra("typeId", neetPgDescriptionFragment.k.get_id());
                        intent3.putExtra("typeName", neetPgDescriptionFragment.k.getName());
                        neetPgDescriptionFragment.startActivity(intent3);
                        return;
                    case 4:
                        NeetBookmarkHomeFragment neetBookmarkHomeFragment = (NeetBookmarkHomeFragment) obj;
                        int i7 = NeetBookmarkHomeFragment.z;
                        Intrinsics.checkNotNullParameter(neetBookmarkHomeFragment, "this$0");
                        Boolean bool = neetBookmarkHomeFragment.y;
                        boolean booleanValue = bool != null ? bool.booleanValue() : false;
                        ArrayList arrayList = neetBookmarkHomeFragment.x;
                        if (arrayList != null) {
                            neetBookmarkHomeFragment.m1(arrayList, booleanValue);
                            return;
                        } else {
                            Intrinsics.n("drawerChapterList");
                            throw null;
                        }
                    case 5:
                        NeetPGContactUsActivity neetPGContactUsActivity = (NeetPGContactUsActivity) obj;
                        if (neetPGContactUsActivity.J0 == null) {
                            Toast.makeText((Context) neetPGContactUsActivity, (CharSequence) neetPGContactUsActivity.getString(2132018186), 0).show();
                            return;
                        }
                        try {
                            Intent intent4 = new Intent("android.intent.action.VIEW");
                            intent4.setData(Uri.parse(neetPGContactUsActivity.J0.getFacebook()));
                            neetPGContactUsActivity.startActivity(intent4);
                            return;
                        } catch (Exception e) {
                            e.printStackTrace();
                            return;
                        }
                    case 6:
                        NeetPGChapterWiseContentActivity neetPGChapterWiseContentActivity = (NeetPGChapterWiseContentActivity) obj;
                        int i8 = NeetPGChapterWiseContentActivity.j1;
                        Intrinsics.checkNotNullParameter(neetPGChapterWiseContentActivity, "this$0");
                        if (!rH.b) {
                            neetPGChapterWiseContentActivity.onBackPressed();
                            return;
                        }
                        rH.b = false;
                        neetPGChapterWiseContentActivity.finishAffinity();
                        Intent intent5 = new Intent((Context) neetPGChapterWiseContentActivity, (Class<?>) AppNavigationContainerActivity.class);
                        intent5.setFlags(67108864);
                        neetPGChapterWiseContentActivity.startActivity(intent5);
                        return;
                    case 7:
                        MO1 mo1 = (MO1) obj;
                        int i9 = MO1.B;
                        Intrinsics.checkNotNullParameter(mo1, "this$0");
                        ArrayList arrayList2 = mo1.v;
                        if (arrayList2 == null) {
                            Intrinsics.n("selectedChapterList");
                            throw null;
                        }
                        if (arrayList2.size() > 5) {
                            Context context = mo1.getContext();
                            if (context != null) {
                                l.p(context, mo1.getResources().getString(2132019242));
                                return;
                            }
                            return;
                        }
                        b bVar = mo1.p;
                        if (bVar != null) {
                            ArrayList arrayList3 = mo1.v;
                            if (arrayList3 == null) {
                                Intrinsics.n("selectedChapterList");
                                throw null;
                            }
                            bVar.z(arrayList3, true);
                        }
                        mo1.dismiss();
                        return;
                    default:
                        Fo0 fo0 = (Fo0) obj;
                        int i10 = Fo0.f1;
                        Intrinsics.checkNotNullParameter(fo0, "this$0");
                        fo0.s1();
                        return;
                }
            }
        });
    }
}