导航菜单

页面标题

页面副标题

MX Player v1.97.8 - MXTubeLanguageActivity.java 源代码

正在查看: MX Player v1.97.8 应用的 MXTubeLanguageActivity.java JAVA 源代码文件

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


package com.mxtech.videoplayer.ad.online.mxtube;

import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.m.x.player.pandora.common.fromstack.From;
import defpackage.esg;
import defpackage.h6a;
import defpackage.lbc;
import defpackage.of;
import defpackage.p3b;
import defpackage.q3b;
import defpackage.sd;
import defpackage.sh;
import defpackage.shc;
import defpackage.sr;
import defpackage.tr;
import defpackage.tya;
import defpackage.ud;
import defpackage.wvd;
import defpackage.xxc;
import java.util.ArrayList;
import kotlin.Function;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import org.jetbrains.annotations.NotNull;

@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lcom/mxtech/videoplayer/ad/online/mxtube/MXTubeLanguageActivity;", "Lxxc;", "<init>", "()V", "PlayerAd-vc2001002668-vn1.97.8.1.0-0_google_bundleRelease"}, k = 1, mv = {2, 0, 0}, xi = 48)
public final class MXTubeLanguageActivity extends xxc {
    public static final int y = 0;
    public of u;

    @NotNull
    public final dii v = new dii(wle.a.b(lbc.class), new c(), new b(), new d());

    @NotNull
    public ArrayList<String> w = new ArrayList<>();
    public shc x;

    public static final class a implements hrc, aq6 {
        public final Function1 b;

        public a(Function1 function1) {
            this.b = function1;
        }

        public final void a(Object obj) {
            this.b.invoke(obj);
        }

        @NotNull
        public final Function<?> c() {
            return this.b;
        }

        public final boolean equals(Object obj) {
            if ((obj instanceof hrc) && (obj instanceof aq6)) {
                return this.b.equals(((aq6) obj).c());
            }
            return false;
        }

        public final int hashCode() {
            return this.b.hashCode();
        }
    }

    public static final class b extends a3a implements Function0<fii> {
        public b() {
            super(0);
        }

        public final Object invoke() {
            return MXTubeLanguageActivity.this.getDefaultViewModelProviderFactory();
        }
    }

    public static final class c extends a3a implements Function0<kii> {
        public c() {
            super(0);
        }

        public final Object invoke() {
            return MXTubeLanguageActivity.this.getViewModelStore();
        }
    }

    public static final class d extends a3a implements Function0<gw3> {
        public d() {
            super(0);
        }

        public final Object invoke() {
            return MXTubeLanguageActivity.this.getDefaultViewModelCreationExtras();
        }
    }

    public static void p6(MXTubeLanguageActivity mXTubeLanguageActivity) {
        super/*ub3*/.onBackPressed();
    }

    @Override
    @NotNull
    public final View b6() {
        ConstraintLayout inflate = getLayoutInflater().inflate(2131558510, (ViewGroup) null, false);
        int i = 2131362799;
        ConstraintLayout o = a7.o(2131362799, inflate);
        if (o != null) {
            i = 2131363081;
            View o2 = a7.o(2131363081, inflate);
            if (o2 != null) {
                i = 2131364596;
                View o3 = a7.o(2131364596, inflate);
                if (o3 != null) {
                    h6a a2 = h6a.a(o3);
                    i = 2131365772;
                    RecyclerView o4 = a7.o(2131365772, inflate);
                    if (o4 != null) {
                        i = 2131366596;
                        if (a7.o(2131366596, inflate) != null) {
                            i = 2131367225;
                            AppCompatTextView o5 = a7.o(2131367225, inflate);
                            if (o5 != null) {
                                ConstraintLayout constraintLayout = inflate;
                                this.u = new of(constraintLayout, o, o2, a2, o4, o5);
                                return constraintLayout;
                            }
                        }
                    }
                }
            }
        }
        throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
    }

    @Override
    public final From d6() {
        return From.create("mxtubeLanguage", "mxtubeLanguage", "mxtubeLanguage");
    }

    @Override
    public final int j6() {
        return 2131558510;
    }

    public final void onBackPressed() {
        if (t6().r().equals(this.w)) {
            super/*ub3*/.onBackPressed();
        } else {
            new q3b(this, new sh(this, 3)).show();
        }
    }

    @Override
    public final void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        esg.a(this);
        k6(2131889178);
        of ofVar = this.u;
        if (ofVar == null) {
            ofVar = null;
        }
        ofVar.b.setVisibility(0);
        of ofVar2 = this.u;
        if (ofVar2 == null) {
            ofVar2 = null;
        }
        ofVar2.d.c.setVisibility(8);
        of ofVar3 = this.u;
        if (ofVar3 == null) {
            ofVar3 = null;
        }
        ofVar3.e.setLayoutManager(new GridLayoutManager(3));
        of ofVar4 = this.u;
        if (ofVar4 == null) {
            ofVar4 = null;
        }
        RecyclerView recyclerView = ofVar4.e;
        int u = f74.u(2131166162, this);
        recyclerView.j(new ixf(u, u, u, u, 0, 0, 0, 0), -1);
        t6().b = this;
        t6().f.observe(this, new a(new ic1(this, 3)));
        t6().g.observe(this, new a(new ud(this, 3)));
        shc shcVar = new shc(new sd(this, 5));
        this.x = shcVar;
        shcVar.d();
        if (vk4.h(tya.m)) {
            t6().s();
            return;
        }
        of ofVar5 = this.u;
        if (ofVar5 == null) {
            ofVar5 = null;
        }
        ofVar5.b.setVisibility(8);
        of ofVar6 = this.u;
        if (ofVar6 == null) {
            ofVar6 = null;
        }
        ofVar6.d.c.setVisibility(0);
        of ofVar7 = this.u;
        (ofVar7 != null ? ofVar7 : null).d.b.setOnClickListener(new sr(this, 6));
    }

    @Override
    public final void onDestroy() {
        super.onDestroy();
        shc shcVar = this.x;
        if (shcVar != null) {
            shcVar.c();
        }
    }

    @Override
    public final void onStop() {
        super.onStop();
        lbc t6 = t6();
        wvd wvdVar = t6.d;
        if (wvdVar != null) {
            if (wvdVar.b != null) {
                wvdVar.b = null;
            }
            wvdVar.h.remove(t6);
            wvdVar.d();
        }
        t6.d = null;
    }

    public final void s6(boolean z) {
        if (z) {
            of ofVar = this.u;
            if (ofVar == null) {
                ofVar = null;
            }
            ofVar.f.setBackgroundResource(2131233417);
            of ofVar2 = this.u;
            if (ofVar2 == null) {
                ofVar2 = null;
            }
            ofVar2.f.setTextColor(-1);
            of ofVar3 = this.u;
            (ofVar3 != null ? ofVar3 : null).f.setOnClickListener(new tr(this, 7));
            return;
        }
        of ofVar4 = this.u;
        if (ofVar4 == null) {
            ofVar4 = null;
        }
        ofVar4.f.setBackgroundResource(2131233552);
        of ofVar5 = this.u;
        if (ofVar5 == null) {
            ofVar5 = null;
        }
        msc.s(ofVar5.f, 2131101873);
        of ofVar6 = this.u;
        (ofVar6 != null ? ofVar6 : null).f.setOnClickListener(new p3b());
    }

    public final lbc t6() {
        return (lbc) this.v.getValue();
    }
}