正在查看: Baubap v3.9.7 应用的 PaymentsErrorFragment.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Baubap v3.9.7 应用的 PaymentsErrorFragment.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.baubap.modules.services.payments.presentation.payment;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.view.View;
import c0.d;
import cl.j;
import cl.w;
import com.airbnb.lottie.LottieAnimationView;
import com.baubap.modules.services.payments.presentation.PaymentsViewModel;
import com.baubap.util.views.TitleToolbar;
import com.google.android.material.button.MaterialButton;
import el.g;
import f40.k;
import f6.l1;
import gk.a;
import hk.m;
import kotlin.jvm.internal.q;
import kotlin.jvm.internal.y;
import me.t2;
import mo.i;
import xu.b;
public final class PaymentsErrorFragment extends a {
public static final k[] f9674j;
public final i f9675h;
public final l1 f9676i;
static {
q qVar = new q(PaymentsErrorFragment.class, "binding", "getBinding()Lcom/baubap/databinding/PaymentsErrorFragmentBinding;", 0);
y.a.getClass();
f9674j = new k[]{qVar};
}
public PaymentsErrorFragment() {
super(2131558789, 21);
this.f9675h = d.V0(this, fl.d.f13209b);
this.f9676i = f40.q.K(this, y.a(PaymentsViewModel.class), new g(this, 1), new dl.k(this, 5), new g(this, 2));
}
@Override
public final void onViewCreated(View view, Bundle bundle) {
Parcelable parcelable;
Object parcelable2;
b.y(view, "view");
((TitleToolbar) requireActivity().findViewById(2131364068)).setTitle("Paga y Gana");
k[] kVarArr = f9674j;
k kVar = kVarArr[0];
i iVar = this.f9675h;
t2 t2Var = (t2) iVar.a(this, kVar);
LottieAnimationView lottieAnimationView = t2Var.f21290a;
b.x(lottieAnimationView, "animation");
lottieAnimationView.setAnimationFromUrl("https://media.baubap.com/android/common/error.json");
lottieAnimationView.d();
Bundle requireArguments = requireArguments();
b.x(requireArguments, "requireArguments(...)");
if (Build.VERSION.SDK_INT >= 33) {
parcelable2 = requireArguments.getParcelable("OPTION", j.class);
parcelable = (Parcelable) parcelable2;
} else {
Parcelable parcelable3 = requireArguments.getParcelable("OPTION");
if (!(parcelable3 instanceof j)) {
parcelable3 = null;
}
parcelable = (j) parcelable3;
}
j jVar = (j) parcelable;
if (jVar != null) {
l1 l1Var = this.f9676i;
w wVar = ((PaymentsViewModel) l1Var.getValue()).J;
t2Var.f21293d.setText(wVar != null ? wVar.f8589b : null);
t2Var.f21294e.setText(jVar.f8511f);
t2Var.f21292c.setText(((PaymentsViewModel) l1Var.getValue()).M);
}
MaterialButton materialButton = ((t2) iVar.a(this, kVarArr[0])).f21291b;
b.x(materialButton, "btnNext");
z50.a.Z(materialButton, new m(this, 10));
}
}