Live Football Updates v1.0.1版本的 MD5 值为:636649089335ebb37514551724606ad0

以下内容为反编译后的 PostDetailActivity.java 源代码,内容仅作参考


package com.applive.app.ui.activities.modules;

import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import b7.a;
import com.bumptech.glide.b;
import com.bumptech.glide.m;
import com.ironsource.q2;
import com.millingoupdate.app.R;
import d7.w;
import i1.h0;
import i7.l;
import s5.f;
import w6.h;
public class PostDetailActivity extends h {
    public Bundle I;
    public boolean J;

    @Override
    public final int Q() {
        return R.layout.activity_entry_detail;
    }

    @Override
    public final void onBackPressed() {
        boolean a10;
        w wVar = (w) F().D("frag_post_detail");
        if (wVar != null) {
            w.a aVar = wVar.f0;
            if (aVar == null) {
                a10 = false;
            } else {
                a10 = aVar.a();
            }
            if (a10) {
                return;
            }
        }
        if (this.J) {
            N(this);
            return;
        }
        super.onBackPressed();
        l.y(this);
    }

    public void onClickButton(View view) {
        Bundle g10 = l.g(this.I.getString("post_id", null), this.I.getString(q2.h.D0), this.I.getString("b_url"), this.I.getString("thumbFull"), this.I.getString("b_url"), getString(R.string.scheme_my_app));
        if (view.getId() == R.id.share_whatsapp) {
            new c7.l().w0(this, g10, a.valueOf(a.WHATSAPP.name()));
        } else if (view.getId() == R.id.share_facebook) {
            new c7.l().w0(this, g10, a.valueOf(a.FACEBOOK.name()));
        } else if (view.getId() == R.id.share_telegram) {
            new c7.l().w0(this, g10, a.valueOf(a.TELEGRAM.name()));
        } else if (view.getId() == R.id.share_x) {
            new c7.l().w0(this, g10, a.valueOf(a.TWITTER.name()));
        } else if (view.getId() == R.id.social_more) {
            c7.l x02 = c7.l.x0(g10);
            x02.t0(F(), x02.f24160y);
        }
    }

    @Override
    public final void onCreate(Bundle bundle) {
        String str;
        l.D(this, true);
        super.onCreate(bundle);
        if (bundle == null) {
            Intent intent = getIntent();
            if (intent != null && intent.getExtras() != null) {
                this.I = intent.getBundleExtra("i_bundle");
                this.J = intent.getBooleanExtra("is_go_home", false);
            }
            h0 F = F();
            F.getClass();
            i1.a aVar = new i1.a(F);
            Bundle bundle2 = this.I;
            w wVar = new w();
            wVar.i0(bundle2);
            aVar.e();
            aVar.d(R.id.detail_fragment, wVar, "frag_post_detail");
            aVar.g();
            Bundle bundle3 = this.I;
            if (bundle3 != null) {
                f.b(this, bundle3.getString(q2.h.D0), this.I.getString("b_url"), "PostDetailActivity");
            }
        } else {
            this.I = bundle.getBundle("key_bundle");
            this.J = bundle.getBoolean("is_go_home", false);
        }
        Bundle bundle4 = this.I;
        if (bundle4 != null) {
            str = bundle4.getString("thumb");
        } else {
            str = "";
        }
        ImageView imageView = (ImageView) findViewById(R.id.backdrop);
        if (imageView != null) {
            try {
                m c10 = b.b(this).c(this);
                if (TextUtils.isEmpty(str)) {
                    str = "https://dummy.lM9OSQ9ttBQ.w3bs1t3/file-f4k3.jpg";
                }
                c10.k(str).B(imageView);
            } catch (Exception unused) {
                imageView.setVisibility(8);
            }
        }
    }

    @Override
    public final void onSaveInstanceState(Bundle bundle) {
        super.onSaveInstanceState(bundle);
        bundle.putBundle("key_bundle", this.I);
    }
}