导航菜单

页面标题

页面副标题

CashVia v1.6.02 - WebActivity.java 源代码

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

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


package com.xy.credyclub.view;

import A2.C0012b;
import android.os.Bundle;
import android.webkit.WebView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.sensorsdata.analytics.android.sdk.data.SAProviderHelper;
import com.sensorsdata.analytics.android.sdk.jsbridge.JSHookAop;
import com.xy.credyclub.base.XYBaseActivity;
import com.xy.credyclub.databinding.ActivityWebBinding;
import com.xy.credyclub.widget.XYTitleLayout;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import u2.j;

@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001:\u0001\u0004B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0005"}, d2 = {"Lcom/xy/credyclub/view/WebActivity;", "Lcom/xy/credyclub/base/XYBaseActivity;", "<init>", "()V", "L0/d", "app_prodRelease"}, k = 1, mv = {1, SAProviderHelper.URI_CODE.FLUSH_DATA, 0})
public final class WebActivity extends XYBaseActivity {
    public static final int f = 0;
    public ActivityWebBinding e;

    @Override
    public final void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        ViewDataBinding contentView = DataBindingUtil.setContentView(this, 2131492906);
        Intrinsics.checkNotNullExpressionValue(contentView, "setContentView(...)");
        this.e = (ActivityWebBinding) contentView;
        String stringExtra = getIntent().getStringExtra("url");
        String stringExtra2 = getIntent().getStringExtra("title");
        ActivityWebBinding activityWebBinding = null;
        if (stringExtra != null) {
            ActivityWebBinding activityWebBinding2 = this.e;
            if (activityWebBinding2 == null) {
                Intrinsics.throwUninitializedPropertyAccessException("binding");
                activityWebBinding2 = null;
            }
            WebView webView = activityWebBinding2.b;
            JSHookAop.loadUrl(webView, stringExtra);
            webView.loadUrl(stringExtra);
        }
        ActivityWebBinding activityWebBinding3 = this.e;
        if (activityWebBinding3 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("binding");
            activityWebBinding3 = null;
        }
        XYTitleLayout xYTitleLayout = activityWebBinding3.a;
        if (stringExtra2 == null) {
            stringExtra2 = "";
        }
        xYTitleLayout.setTitle(stringExtra2);
        ActivityWebBinding activityWebBinding4 = this.e;
        if (activityWebBinding4 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("binding");
        } else {
            activityWebBinding = activityWebBinding4;
        }
        ConstraintLayout layoutTitle = activityWebBinding.a;
        Intrinsics.checkNotNullExpressionValue(layoutTitle, "layoutTitle");
        j.c(layoutTitle, new C0012b(this, 19));
    }
}