导航菜单

页面标题

页面副标题

Baubap v3.9.7 - ManualPaymentFragment.java 源代码

正在查看: Baubap v3.9.7 应用的 ManualPaymentFragment.java JAVA 源代码文件

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


package com.baubap.presentation.main.loan.payments;

import android.os.Bundle;
import android.view.View;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.compose.ui.platform.ComposeView;
import cg.o;
import com.adjust.sdk.Adjust;
import com.adjust.sdk.AdjustEvent;
import com.baubap.modules.abcd.presentation.event.AbcdEventsViewModel;
import f40.k;
import f6.f1;
import f6.l1;
import j2.c;
import j3.z2;
import kotlin.jvm.internal.q;
import kotlin.jvm.internal.y;
import l10.b;
import lm.i;
import m30.f;
import m30.g;
import m30.x;
import m40.h0;
import mo.j;
import ny.k1;
import om.n0;
import sm.p;
import um.h;
import um.m;

public final class ManualPaymentFragment extends o {

    public static final k[] f9931m;

    public final j f9932j;

    public final l1 f9933k;

    public final l1 f9934l;

    static {
        q qVar = new q(ManualPaymentFragment.class, "binding", "getBinding()Lcom/baubap/databinding/AbcdLoanPaymentManualFragmentBinding;", 0);
        y.a.getClass();
        f9931m = new k[]{qVar};
    }

    public ManualPaymentFragment() {
        super(2131558443, 9);
        this.f9932j = k1.O(this, h.f31047b);
        f e02 = b.e0(g.c, new p(new tm.h(this, 6), 5));
        this.f9933k = f40.q.K(this, y.a(ManualPaymentViewModel.class), new i(e02, 7), new lm.j(e02, 7), new lm.h(this, e02, 7));
        this.f9934l = f40.q.K(this, y.a(AbcdEventsViewModel.class), new tm.h(this, 4), new dl.k(this, 27), new tm.h(this, 5));
    }

    public final me.k I() {
        return (me.k) this.f9932j.a(this, f9931m[0]);
    }

    @Override
    public final void onViewCreated(View view, Bundle bundle) {
        x xVar;
        xu.b.y(view, "view");
        Adjust.trackEvent(new AdjustEvent("7er5pk"));
        ((AbcdEventsViewModel) this.f9934l.getValue()).e("abcd_completed_view_manual_payment", "");
        ComposeView composeView = I().f20888g;
        composeView.setViewCompositionStrategy(z2.f17545b);
        int i10 = 1;
        composeView.setContent(new c(new um.j(this, i10), true, 1980488561));
        l1 l1Var = this.f9933k;
        l((ManualPaymentViewModel) l1Var.getValue());
        Bundle arguments = getArguments();
        if (arguments != null) {
            Object obj = arguments.get("from");
            xu.b.w(obj, "null cannot be cast to non-null type kotlin.String");
            ManualPaymentViewModel manualPaymentViewModel = (ManualPaymentViewModel) l1Var.getValue();
            Object obj2 = arguments.get("from");
            xu.b.w(obj2, "null cannot be cast to non-null type kotlin.String");
            manualPaymentViewModel.getClass();
            tx.b.X(f1.Q(manualPaymentViewModel), (q30.j) null, (h0) null, new m(manualPaymentViewModel, (String) obj2, null), 3);
            I().f20886e.setText(xu.b.n((String) obj, "abcd") ? "Datos de pago de tu Préstamo Compra a pagos" : "Datos de pago de tu Préstamo Liquida Deudas.");
            xVar = x.a;
        } else {
            xVar = null;
        }
        if (xVar == null) {
            ManualPaymentViewModel manualPaymentViewModel2 = (ManualPaymentViewModel) l1Var.getValue();
            manualPaymentViewModel2.getClass();
            tx.b.X(f1.Q(manualPaymentViewModel2), (q30.j) null, (h0) null, new m(manualPaymentViewModel2, "microloan", null), 3);
        }
        ((ManualPaymentViewModel) l1Var.getValue()).f9937y.e(getViewLifecycleOwner(), new n0(new um.i(this, 0), 3));
        ((ManualPaymentViewModel) l1Var.getValue()).f31001d.e(getViewLifecycleOwner(), new n0(new um.i(this, i10), 3));
        AppCompatImageView appCompatImageView = I().f20884c;
        xu.b.x(appCompatImageView, "imgOxxoPay");
        mo.o.c(this, appCompatImageView, "https://media.baubap.com/android/micro_loan/ic_loan_oxxo_2.png");
        I().f20882a.setOnClickListener(new n8.j(this, 23));
    }
}