Live Football Updates v1.0.1版本的 MD5 值为:636649089335ebb37514551724606ad0
以下内容为反编译后的 h.java 源代码,内容仅作参考
package d7;
import android.content.Context;
import android.os.Bundle;
import android.text.SpannableStringBuilder;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.OvershootInterpolator;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.applive.app.ui.activities.MyMainActivity;
import com.applive.app.ui.view.ExpandableTextView;
import com.facebook.ads.InterstitialAd;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.gson.Gson;
import com.ironsource.mediationsdk.IronSource;
import com.ironsource.q2;
import com.millingoupdate.app.R;
import java.util.regex.Pattern;
public abstract class h extends com.google.android.material.bottomsheet.c {
public static final int f21519d1 = 0;
public TextView R0;
public FrameLayout S0;
public FrameLayout T0;
public LinearLayout U0;
public FrameLayout V0;
public LinearLayout W0;
public FrameLayout X0;
public FrameLayout Y0;
public LinearLayout Z0;
public FrameLayout f21520a1;
public FloatingActionButton f21521b1;
public Bundle f21522c1;
public ImageView f21523o0;
public RelativeLayout f21524p0;
public ExpandableTextView f21525q0;
@Override
public final void M(Bundle bundle) {
int i;
super.M(bundle);
if (i7.l.u(f0())) {
i = 2132017453;
} else {
i = 2132017455;
}
r0(i);
Bundle bundle2 = this.f24144g;
if (bundle2 != null) {
this.f21522c1 = bundle2;
}
}
@Override
public final View N(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View inflate = layoutInflater.inflate(R.layout.frag_module_context, viewGroup, false);
this.f21523o0 = (ImageView) inflate.findViewById(R.id.videoThumb);
this.f21524p0 = (RelativeLayout) inflate.findViewById(R.id.btnPlayContainer);
this.f21525q0 = (ExpandableTextView) inflate.findViewById(R.id.videoPostTitle);
this.R0 = (TextView) inflate.findViewById(R.id.rating);
this.S0 = (FrameLayout) inflate.findViewById(R.id.share_whatsapp);
this.T0 = (FrameLayout) inflate.findViewById(R.id.share_facebook);
this.U0 = (LinearLayout) inflate.findViewById(R.id.telegramContainer);
this.V0 = (FrameLayout) inflate.findViewById(R.id.share_telegram);
this.W0 = (LinearLayout) inflate.findViewById(R.id.xContainer);
this.X0 = (FrameLayout) inflate.findViewById(R.id.share_x);
this.Y0 = (FrameLayout) inflate.findViewById(R.id.social_more);
this.Z0 = (LinearLayout) inflate.findViewById(R.id.epgContainer);
this.f21520a1 = (FrameLayout) inflate.findViewById(R.id.epg_btn);
this.f21521b1 = (FloatingActionButton) inflate.findViewById(R.id.fabFavorite);
return inflate;
}
@Override
public final void W(Bundle bundle) {
super.W(bundle);
bundle.putBundle("key_bundle", this.f21522c1);
}
@Override
public void Z(Bundle bundle, View view) {
final boolean z10;
InterstitialAd interstitialAd;
String str;
String str2;
int i;
String str3;
boolean z11;
o6.d u02;
i1.v d0 = d0();
if (d0 instanceof MyMainActivity) {
z10 = ((MyMainActivity) d0).R();
} else {
if (d0 instanceof x6.a) {
x6.a aVar = (x6.a) d0;
if (aVar.P != null || (((interstitialAd = aVar.Q) != null && interstitialAd.isAdLoaded()) || IronSource.isInterstitialReady())) {
z10 = true;
}
}
z10 = false;
}
String str4 = "";
final String string = this.f21522c1.getString(q2.h.D0, "");
String string2 = this.f21522c1.getString("thumb", "");
try {
Context f0 = f0();
int o10 = i7.l.o(f0);
com.bumptech.glide.m b10 = com.bumptech.glide.b.b(f0).b(f0);
if (TextUtils.isEmpty(string2)) {
string2 = "https://dummy.lM9OSQ9ttBQ.w3bs1t3/file-f4k3.jpg";
}
b10.k(string2).l(o10).e(o10).B(this.f21523o0);
} catch (Exception unused) {
}
this.f21525q0.setInterpolator(new OvershootInterpolator());
this.f21525q0.setOnClickListener(new View.OnClickListener(this) {
public final h f21496b;
{
this.f21496b = this;
}
@Override
public final void onClick(View view2) {
int i10 = r2;
h hVar = this.f21496b;
switch (i10) {
case 0:
ExpandableTextView expandableTextView = hVar.f21525q0;
if (expandableTextView.f4419n) {
expandableTextView.l();
return;
} else {
expandableTextView.m();
return;
}
default:
Bundle bundle2 = hVar.f21522c1;
c7.p pVar = new c7.p();
pVar.i0(bundle2);
pVar.t0(hVar.v(), pVar.f24160y);
return;
}
}
});
o6.d u03 = u0();
if (u03 == null || TextUtils.isEmpty(u03.i)) {
str = "";
} else {
str = i7.o.h(u03.i, u03.f27690j);
}
SpannableStringBuilder r10 = i7.l.r(d0(), string, str);
if (r10 != null) {
this.f21525q0.setText(r10);
} else {
this.f21525q0.setText(dk.f.a().b(string, "").n0());
}
o6.d u04 = u0();
if (u04 == null || TextUtils.isEmpty(u04.f27697q)) {
str2 = "";
} else {
str2 = u04.f27697q;
}
boolean z12 = !TextUtils.isEmpty(str2);
RelativeLayout relativeLayout = this.f21524p0;
if (z12) {
i = 0;
} else {
i = 8;
}
relativeLayout.setVisibility(i);
this.f21524p0.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view2) {
String str5;
int i10 = h.f21519d1;
h hVar = h.this;
hVar.getClass();
Bundle bundle2 = new Bundle();
o6.d u05 = hVar.u0();
String str6 = "";
if (u05 == null || TextUtils.isEmpty(u05.f27685d)) {
str5 = "";
} else {
str5 = u05.f27685d;
}
bundle2.putString("m_module", str5);
bundle2.putString(q2.h.D0, string);
o6.d u06 = hVar.u0();
if (u06 != null && !TextUtils.isEmpty(u06.f27697q)) {
str6 = u06.f27697q;
}
bundle2.putString("b_url", str6);
bundle2.putBoolean("is_interstitial_loaded", z10);
i7.l.B(hVar.d0(), bundle2);
}
});
final Bundle g10 = i7.l.g(this.f21522c1.getString("post_id", null), string, this.f21522c1.getString("b_url"), this.f21522c1.getString("thumbFull"), this.f21522c1.getString("b_url"), B(R.string.scheme_my_app));
this.S0.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view2) {
int i10 = h.f21519d1;
h hVar = h.this;
hVar.getClass();
new c7.l().w0(hVar.d0(), g10, b7.a.valueOf(b7.a.WHATSAPP.name()));
}
});
this.T0.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view2) {
int i10 = h.f21519d1;
h hVar = h.this;
hVar.getClass();
new c7.l().w0(hVar.d0(), g10, b7.a.valueOf(b7.a.FACEBOOK.name()));
}
});
this.V0.setOnClickListener(new e(this, 0, g10));
this.X0.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view2) {
int i10 = h.f21519d1;
h hVar = h.this;
hVar.getClass();
new c7.l().w0(hVar.d0(), g10, b7.a.valueOf(b7.a.TWITTER.name()));
}
});
this.Y0.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view2) {
int i10 = h.f21519d1;
h hVar = h.this;
hVar.getClass();
c7.l x02 = c7.l.x0(g10);
x02.t0(hVar.v(), x02.f24160y);
}
});
o6.d u05 = u0();
if (u05 == null || TextUtils.isEmpty(u05.f27698r)) {
str3 = "";
} else {
str3 = u05.f27698r.trim();
}
if (!TextUtils.isEmpty(str3)) {
try {
z11 = Pattern.compile("^[-\\+]?[.\\d]*$").matcher(str3).matches();
} catch (Exception unused2) {
z11 = false;
}
if (z11 || TextUtils.isDigitsOnly(str3)) {
float parseFloat = Float.parseFloat(str3);
if (parseFloat > 0.0f) {
this.R0.setVisibility(0);
this.R0.setText(z().getString(R.string.badge_rating, String.valueOf(parseFloat)));
}
this.R0.setOnClickListener(new z3.i(2, this));
u02 = u0();
if (u02 != null && !TextUtils.isEmpty(u02.f27701v)) {
str4 = u02.f27701v.trim();
}
if (TextUtils.isEmpty(str4)) {
this.W0.setVisibility(8);
this.Z0.setVisibility(0);
this.f21520a1.setOnClickListener(new View.OnClickListener(this) {
public final h f21496b;
{
this.f21496b = this;
}
@Override
public final void onClick(View view2) {
int i10 = r2;
h hVar = this.f21496b;
switch (i10) {
case 0:
ExpandableTextView expandableTextView = hVar.f21525q0;
if (expandableTextView.f4419n) {
expandableTextView.l();
return;
} else {
expandableTextView.m();
return;
}
default:
Bundle bundle2 = hVar.f21522c1;
c7.p pVar = new c7.p();
pVar.i0(bundle2);
pVar.t0(hVar.v(), pVar.f24160y);
return;
}
}
});
return;
}
this.Z0.setVisibility(8);
this.W0.setVisibility(0);
if (!i7.l.v(d0(), b7.a.TWITTER.f3711a) && i7.l.v(d0(), b7.a.TELEGRAM.f3711a)) {
this.W0.setVisibility(8);
this.U0.setVisibility(0);
return;
}
return;
}
}
this.R0.setVisibility(8);
this.R0.setOnClickListener(new z3.i(2, this));
u02 = u0();
if (u02 != null) {
str4 = u02.f27701v.trim();
}
if (TextUtils.isEmpty(str4)) {
}
}
@Override
public final void a0(Bundle bundle) {
super.a0(bundle);
if (bundle != null) {
this.f21522c1 = bundle.getBundle("key_bundle");
}
}
public final o6.d u0() {
try {
o6.d dVar = (o6.d) new Gson().b(o6.d.class, this.f21522c1.getString("stream_data"));
if (dVar != null) {
return dVar;
}
return null;
} catch (Exception unused) {
return null;
}
}
}