导航菜单

页面标题

页面副标题

Biko v2.0.23 - StreamerOnboardActivity.java 源代码

正在查看: Biko v2.0.23 应用的 StreamerOnboardActivity.java JAVA 源代码文件

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


package app.callpe.ui.onboarding;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import app.callpe.databinding.ActivityOnboardingStreamerBinding;
import app.callpe.ui.home.BaseActivity;
import app.callpe.ui.home.HomeActivity;
import app.callpe.ui.user.ApplyStreamerActivity;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0003J\u0010\u0010\u0004\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0006H\u0016J\u0012\u0010\u0007\u001a\u00020\b2\b\u0010\t\u001a\u0004\u0018\u00010\nH\u0014¨\u0006\u000b"}, d2 = {"Lapp/callpe/ui/onboarding/StreamerOnboardActivity;", "Lapp/callpe/ui/home/BaseActivity;", "Lapp/callpe/databinding/ActivityOnboardingStreamerBinding;", "()V", "inflateLayout", "layoutInflater", "Landroid/view/LayoutInflater;", "onCreate", "", "savedInstanceState", "Landroid/os/Bundle;", "app_bikoRelease"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class StreamerOnboardActivity extends BaseActivity<ActivityOnboardingStreamerBinding> {
    @Override
    public ActivityOnboardingStreamerBinding inflateLayout(LayoutInflater layoutInflater) {
        Intrinsics.checkNotNullParameter(layoutInflater, "layoutInflater");
        ActivityOnboardingStreamerBinding inflate = ActivityOnboardingStreamerBinding.inflate(layoutInflater);
        Intrinsics.checkNotNullExpressionValue(inflate, "inflate(layoutInflater)");
        return inflate;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getBinding().applyBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                StreamerOnboardActivity.onCreate$lambda$1(StreamerOnboardActivity.this, view);
            }
        });
        getBinding().goToHomeScreen.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                StreamerOnboardActivity.onCreate$lambda$3(StreamerOnboardActivity.this, view);
            }
        });
    }

    public static final void onCreate$lambda$1(StreamerOnboardActivity streamerOnboardActivity, View view) {
        Intrinsics.checkNotNullParameter(streamerOnboardActivity, "this$0");
        Intent intent = new Intent((Context) streamerOnboardActivity, (Class<?>) ApplyStreamerActivity.class);
        intent.putExtra("firstTime", true);
        intent.putExtra("user_name", streamerOnboardActivity.getIntent().getStringExtra("user_name"));
        streamerOnboardActivity.startActivity(intent);
    }

    public static final void onCreate$lambda$3(StreamerOnboardActivity streamerOnboardActivity, View view) {
        Intrinsics.checkNotNullParameter(streamerOnboardActivity, "this$0");
        Intent intent = new Intent((Context) streamerOnboardActivity, (Class<?>) HomeActivity.class);
        intent.addFlags(268468224);
        streamerOnboardActivity.startActivity(intent);
    }
}