导航菜单

页面标题

页面副标题

TruCred v1.1.3 - PersonalCenterActivity.java 源代码

正在查看: TruCred v1.1.3 应用的 PersonalCenterActivity.java JAVA 源代码文件

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


package com.veloz.app.ui.mine;

import android.graphics.Color;
import android.view.View;
import com.veloz.app.R$layout;
import com.veloz.app.cache.LoginInfoCache;
import com.veloz.app.databinding.PersonalCenterActivityBinding;
import com.veloz.app.my.MyActivity;
import com.veloz.app.ui.login.LoginActivity;
import com.veloz.app.utils.SensorsHelper;

public class PersonalCenterActivity extends MyActivity<PersonalCenterActivityBinding, PersonalCenterActivityViewModel> {
    public void v(View view) {
        SensorsHelper.g("safaCenter");
        finish();
    }

    public void w(View view) {
        SensorsHelper.c("safaCenter", "logout");
        startActivity(ApplyLogoutActivity.class).go();
    }

    @Override
    public void initData() {
        if (LoginInfoCache.c() == null) {
            startActivity(LoginActivity.class).go();
        }
    }

    @Override
    public void m() {
        ((PersonalCenterActivityBinding) this.bind).c.setBackgroundColor(Color.parseColor("#F7FED9"));
        ((PersonalCenterActivityBinding) this.bind).c.h(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                PersonalCenterActivity.this.v(view);
            }
        });
        ((PersonalCenterActivityBinding) this.bind).b.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                PersonalCenterActivity.this.w(view);
            }
        });
        ((PersonalCenterActivityBinding) this.bind).d.setText(LoginInfoCache.c().phoneNo);
    }

    @Override
    public int myView() {
        return R$layout.personal_center_activity;
    }

    @Override
    public void p() {
    }

    @Override
    public void o(PersonalCenterActivityBinding personalCenterActivityBinding, PersonalCenterActivityViewModel personalCenterActivityViewModel) {
        super.o(personalCenterActivityBinding, personalCenterActivityViewModel);
        SensorsHelper.j("safaCenter");
        personalCenterActivityBinding.a(personalCenterActivityViewModel);
    }
}