导航菜单

页面标题

页面副标题

CashVia v1.6.02 - ContactUsActivity.java 源代码

正在查看: CashVia v1.6.02 应用的 ContactUsActivity.java JAVA 源代码文件

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


package com.xy.credyclub.view.mine;

import A2.C0014d;
import B2.c;
import B2.d;
import B2.e;
import D2.C0031d;
import E0.g;
import V2.G;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.LinearLayout;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.lifecycle.ViewModelKt;
import androidx.lifecycle.ViewModelLazy;
import androidx.viewpager2.adapter.FragmentStateAdapter;
import com.sensorsdata.analytics.android.sdk.data.SAProviderHelper;
import com.xy.credyclub.databinding.ActivityContactUsBinding;
import com.xy.credyclub.vm.CommViewModel;
import java.util.List;
import kotlin.Metadata;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import p2.C0247x;
import u2.j;
import u2.q;
import u2.x;

@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0007\u0018\u00002\u00020\u0001:\u0001\u0004B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0005"}, d2 = {"Lcom/xy/credyclub/view/mine/ContactUsActivity;", "Lcom/xy/credyclub/base/XYBaseActivity;", "<init>", "()V", "ContactAdapter", "app_prodRelease"}, k = 1, mv = {1, SAProviderHelper.URI_CODE.FLUSH_DATA, 0})
@SourceDebugExtension({"SMAP\nContactUsActivity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ContactUsActivity.kt\ncom/xy/credyclub/view/mine/ContactUsActivity\n+ 2 ActivityViewModelLazy.kt\nandroidx/activity/ActivityViewModelLazyKt\n*L\n1#1,136:1\n75#2,13:137\n*S KotlinDebug\n*F\n+ 1 ContactUsActivity.kt\ncom/xy/credyclub/view/mine/ContactUsActivity\n*L\n38#1:137,13\n*E\n"})
public final class ContactUsActivity extends Hilt_ContactUsActivity {
    public static final int v = 0;
    public ActivityContactUsBinding i;
    public final ViewModelLazy t = new ViewModelLazy(Reflection.getOrCreateKotlinClass(CommViewModel.class), new e(this, 0), new d(this), new e(this, 1));
    public ContactAdapter u;

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lcom/xy/credyclub/view/mine/ContactUsActivity$ContactAdapter;", "Landroidx/viewpager2/adapter/FragmentStateAdapter;", "app_prodRelease"}, k = 1, mv = {1, SAProviderHelper.URI_CODE.FLUSH_DATA, 0})
    public static final class ContactAdapter extends FragmentStateAdapter {
        public final List a;

        public ContactAdapter(FragmentActivity fragmentActivity, List fragments) {
            super(fragmentActivity);
            Intrinsics.checkNotNullParameter(fragmentActivity, "fragmentActivity");
            Intrinsics.checkNotNullParameter(fragments, "fragments");
            this.a = fragments;
        }

        public final Fragment createFragment(int i) {
            List list = this.a;
            if (!((Fragment) list.get(i)).isAdded()) {
                Fragment fragment = (Fragment) list.get(i);
                Bundle bundle = new Bundle();
                bundle.putInt("index", i);
                fragment.setArguments(bundle);
            }
            return (Fragment) list.get(i);
        }

        public final int getItemCount() {
            return this.a.size();
        }
    }

    @Override
    public final void onCreate(Bundle bundle) {
        int i = 2;
        int i4 = 1;
        int i5 = 0;
        int i6 = 3;
        super.onCreate(bundle);
        g gVar = r().a;
        gVar.getClass();
        ActivityContactUsBinding activityContactUsBinding = null;
        q.a(false, false, 0L, null, new C0247x(gVar, null), 25).observe(this, new C0014d(new a(this)));
        x.p(x.a, "540", null, null, 14);
        this.u = new ContactAdapter(this, CollectionsKt.listOf((Object[]) new FAQFragment[]{new FAQFragment(), new FAQFragment(), new FAQFragment(), new FAQFragment()}));
        ViewDataBinding contentView = DataBindingUtil.setContentView(this, 2131492895);
        Intrinsics.checkNotNullExpressionValue(contentView, "setContentView(...)");
        this.i = (ActivityContactUsBinding) contentView;
        CommViewModel r = r();
        r.getClass();
        G.h(ViewModelKt.getViewModelScope(r), null, new C0031d(r, null), 3);
        ActivityContactUsBinding activityContactUsBinding2 = this.i;
        if (activityContactUsBinding2 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("binding");
            activityContactUsBinding2 = null;
        }
        LinearLayout llWhatsapp = activityContactUsBinding2.e;
        Intrinsics.checkNotNullExpressionValue(llWhatsapp, "llWhatsapp");
        j.c(llWhatsapp, new B2.a(this, i5));
        ActivityContactUsBinding activityContactUsBinding3 = this.i;
        if (activityContactUsBinding3 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("binding");
            activityContactUsBinding3 = null;
        }
        LinearLayout llEmail = activityContactUsBinding3.c;
        Intrinsics.checkNotNullExpressionValue(llEmail, "llEmail");
        j.c(llEmail, new c(this));
        ActivityContactUsBinding activityContactUsBinding4 = this.i;
        if (activityContactUsBinding4 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("binding");
            activityContactUsBinding4 = null;
        }
        LinearLayout llPhone = activityContactUsBinding4.d;
        Intrinsics.checkNotNullExpressionValue(llPhone, "llPhone");
        j.c(llPhone, new B2.a(this, i4));
        ActivityContactUsBinding activityContactUsBinding5 = this.i;
        if (activityContactUsBinding5 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("binding");
            activityContactUsBinding5 = null;
        }
        ImageView ivBack = activityContactUsBinding5.a;
        Intrinsics.checkNotNullExpressionValue(ivBack, "ivBack");
        j.c(ivBack, new B2.a(this, i));
        ActivityContactUsBinding activityContactUsBinding6 = this.i;
        if (activityContactUsBinding6 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("binding");
        } else {
            activityContactUsBinding = activityContactUsBinding6;
        }
        ImageView ivFeedback = activityContactUsBinding.b;
        Intrinsics.checkNotNullExpressionValue(ivFeedback, "ivFeedback");
        j.c(ivFeedback, new B2.a(this, i6));
    }

    public final CommViewModel r() {
        return (CommViewModel) this.t.getValue();
    }
}