MD5 校验值:facd8e3913e14e36e7daf9e69fbd45cb
FragmentCrediti.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package it.Ettore.spesaelettrica.ui.fragment; import G1.ViewOnClickListenerC0054l; import W1.a; import W1.b; import android.content.Context; import android.os.Bundle; import android.text.SpannableString; import android.text.method.LinkMovementMethod; import android.text.style.UnderlineSpan; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import it.Ettore.spesaelettrica.R; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import kotlin.jvm.internal.k; public final class FragmentCrediti extends GeneralFragment { @Override public final View onCreateView(LayoutInflater inflater, ViewGroup viewGroup, Bundle bundle) { k.e(inflater, "inflater"); View inflate = inflater.inflate(R.layout.fragment_crediti, viewGroup, false); LinearLayout linearLayout = (LinearLayout) inflate.findViewById(R.id.layout_librerie); Context requireContext = requireContext(); k.d(requireContext, "requireContext(...)"); a aVar = new a(requireContext); b bVar = new b(R.raw.license_tap_target_view, "TapTargetView", "https://github.com/KeepSafe/TapTargetView"); ArrayList arrayList = aVar.f1277b; arrayList.add(bVar); arrayList.add(new b(R.raw.license_mp_android_chart, "MPAndroidChart", "https://github.com/PhilJay/MPAndroidChart")); k.b(linearLayout); Iterator it2 = arrayList.iterator(); while (it2.hasNext()) { b bVar2 = (b) it2.next(); Context context = aVar.f1276a; View inflate2 = LayoutInflater.from(context).inflate(R.layout.riga_libreria, (ViewGroup) linearLayout, false); TextView textView = (TextView) inflate2.findViewById(R.id.nomeTextView); String str = bVar2.f1279a; k.e(str, "str"); k.e(context, "context"); textView.setText(String.format("%s%s", Arrays.copyOf(new Object[]{str, context.getString(R.string.punt_colon)}, 2))); TextView textView2 = (TextView) inflate2.findViewById(R.id.urlTextView); boolean z3 = aVar.f1278c; String str2 = bVar2.f1280b; if (z3) { textView2.setMovementMethod(LinkMovementMethod.getInstance()); String str3 = bVar2.f1282d; if (str3 == null) { str3 = str2; } textView2.setText(m3.a.o(String.format("<a href=\"%s\">%s</a>", Arrays.copyOf(new Object[]{str2, str3}, 2)))); } else { textView2.setText(str2); } TextView textView3 = (TextView) inflate2.findViewById(R.id.licenzaTextView); if (bVar2.e) { SpannableString spannableString = new SpannableString("License"); int i = 0 ^ 7; spannableString.setSpan(new UnderlineSpan(), 0, 7, 0); textView3.setText(spannableString); textView3.setOnClickListener(new ViewOnClickListenerC0054l(4, aVar, bVar2)); } else { textView3.setVisibility(8); } linearLayout.addView(inflate2); } return inflate; } }