导航菜单

页面标题

页面副标题

Clash Legends v0.0.1 - SuccessOrderActivity.java 源代码

正在查看: Clash Legends v0.0.1 应用的 SuccessOrderActivity.java JAVA 源代码文件

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


package com.clash.legends.ui.activities;

import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import com.clash.legends.utils.LocaleHelper;

public class SuccessOrderActivity extends AppCompatActivity {
    Context context;
    Button home;
    TextView ordersucessfulytitle;
    Resources resources;

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(2131558485);
        Context locale = LocaleHelper.setLocale(this);
        this.context = locale;
        this.resources = locale.getResources();
        TextView textView = (TextView) findViewById(2131362917);
        this.ordersucessfulytitle = textView;
        textView.setText(this.resources.getString(2131886657));
        Button button = (Button) findViewById(2131362916);
        this.home = button;
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                SuccessOrderActivity.this.m213x4e0b0274(view);
            }
        });
    }

    void m213x4e0b0274(View view) {
        startActivity(new Intent(getApplicationContext(), (Class<?>) HomeActivity.class));
    }

    public void onBackPressed() {
        startActivity(new Intent(getApplicationContext(), (Class<?>) HomeActivity.class));
    }
}