导航菜单

页面标题

页面副标题

EfectivoYa v2.3 - FFPrimaryActivity.java 源代码

正在查看: EfectivoYa v2.3 应用的 FFPrimaryActivity.java JAVA 源代码文件

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


package com.mxff.ffxxmm.activity;

import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.FrameLayout;
import c1.a;
import com.gyf.immersionbar.l;
import com.mxff.ffxxmm.activity.FFPrimaryActivity;
import com.mxff.ffxxmm.databinding.FfDialogFragmentPrimaryBinding;
import com.mxff.ffxxmm.ffWebView.BaseWebView;
import com.mxff.ffxxmm.utils.d;
import com.mxff.ffxxmm.viewmodel.BaseViewModel;
import h1.i;

public class FFPrimaryActivity extends BaseActivity<BaseViewModel, FfDialogFragmentPrimaryBinding> {

    protected BaseWebView f2096l;

    public void B(View view) {
        d.q();
        setResult(-1);
        finish();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        i.a().d(this.f2096l);
    }

    @Override
    public boolean onKeyDown(int i2, KeyEvent keyEvent) {
        if (i2 != 4) {
            return super.onKeyDown(i2, keyEvent);
        }
        setResult(-1);
        finish();
        return true;
    }

    @Override
    protected void r() {
    }

    @Override
    protected void u(Bundle bundle) {
        l.l0(this).f0(this.f2065i.ffCustomToolbar).d0(true).D();
        this.f2065i.ffCustomToolbar.setText(a.a("Acuerdo de privacidad"));
        View b2 = i.a().b(this);
        this.f2096l = b2;
        this.f2065i.flPrimaryContainer.addView(b2, new FrameLayout.LayoutParams(-1, -1));
        this.f2096l.setLifecycleOwner(this);
        this.f2096l.loadUrl("https://h5.efectivoya.mx/privacy.html");
        this.f2065i.tvContinue.setText("OK");
        this.f2065i.tvContinue.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                FFPrimaryActivity.this.B(view);
            }
        });
    }
}