导航菜单

页面标题

页面副标题

CreditNow v1.0.2 - CustomerServiceActivity.java 源代码

正在查看: CreditNow v1.0.2 应用的 CustomerServiceActivity.java JAVA 源代码文件

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


package com.aa.my.view;

import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import com.aa.commonuilibrary.base.activity.BaseActivity;
import com.aa.my.databinding.ActivityCustomerServiceBinding;
import com.aa.my.viewmodel.CustomerServiceViewModel;
import defpackage.a10;
import defpackage.h40;
import defpackage.j40;
import kotlin.Metadata;

@Metadata
public final class CustomerServiceActivity extends BaseActivity<CustomerServiceViewModel, ActivityCustomerServiceBinding> {

    @Metadata
    public final class a {
        public a() {
        }

        public final void a() {
            CustomerServiceActivity.this.P0().finish();
        }

        public final void b() {
            CustomerServiceActivity.this.startActivity(new Intent("android.intent.action.DIAL", Uri.parse("tel:" + ((CustomerServiceViewModel) CustomerServiceActivity.this.O0()).getMobile())));
        }

        public final void c() {
            CustomerServiceActivity.this.P0().finish();
        }

        public final void d() {
            a10.a.d(CustomerServiceActivity.this.Q0(), ((CustomerServiceViewModel) CustomerServiceActivity.this.O0()).getEmail());
            j40.a.a(CustomerServiceActivity.this.Q0(), "Copiado con éxito", 0);
        }

        public final void e() {
            a10.a.d(CustomerServiceActivity.this.Q0(), ((CustomerServiceViewModel) CustomerServiceActivity.this.O0()).getWhatsApp());
            j40.a.a(CustomerServiceActivity.this.Q0(), "Copiado con éxito", 0);
        }
    }

    @Override
    public void V0(Bundle bundle) {
        if (Build.VERSION.SDK_INT != 26) {
            setRequestedOrientation(1);
        }
        h40.a.e(this);
        ((ActivityCustomerServiceBinding) n1()).setClick(new a());
        ((ActivityCustomerServiceBinding) n1()).setViewModel((CustomerServiceViewModel) O0());
    }
}