正在查看: Clash Legends v0.0.1 应用的 SuccessJoinActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Clash Legends v0.0.1 应用的 SuccessJoinActivity.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 SuccessJoinActivity extends AppCompatActivity {
Context context;
TextView joinedsucessfultitle;
Resources resources;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(2131558484);
Context locale = LocaleHelper.setLocale(this);
this.context = locale;
this.resources = locale.getResources();
this.joinedsucessfultitle = (TextView) findViewById(2131362529);
TextView nameid = (TextView) findViewById(2131363410);
Button home = (Button) findViewById(2131362541);
Intent intent = getIntent();
String matchid = intent.getStringExtra("MATCH_ID");
String matchname = intent.getStringExtra("MATCH_NAME");
this.joinedsucessfultitle.setText(this.resources.getString(2131887102));
nameid.setText(matchname + " - " + this.resources.getString(2131886537) + " #" + matchid);
home.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
SuccessJoinActivity.this.m212xc5777d82(view);
}
});
}
void m212xc5777d82(View view) {
startActivity(new Intent(getApplicationContext(), (Class<?>) SelectedGameActivity.class));
}
public void onBackPressed() {
startActivity(new Intent(getApplicationContext(), (Class<?>) SelectedGameActivity.class));
}
}