正在查看: Fancy Optimizer v4.6.3 应用的 ChooseLanguageActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 ChooseLanguageActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fancyclean.boost.main.ui.activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.media.c;
import com.facebook.login.d;
import com.mbridge.msdk.foundation.download.core.DownloadCommon;
import com.thinkyeah.common.ui.thinklist.ThinkList;
import com.thinkyeah.common.ui.view.TitleBar;
import hl.b;
import java.util.ArrayList;
import jl.e;
import v7.a;
import vj.h;
public class ChooseLanguageActivity extends a<b> {
public static final h m = new h("ChooseLanguageActivity");
public static final String[] n = {null, "en", "ar", DownloadCommon.DOWNLOAD_REPORT_DOWNLOAD_ERROR, "es", "fr", "hi", "in", "it", "ja", "ko", "pt", "nl", "pl", "sv", "no", "da", "fi", "cs", "hu", "el", "th", "tr", "vi", "ru", "ro", "sr", "sk", "bg", "ms", "my", "kk", "zh", "zh_TW", "zh_HK"};
public final androidx.core.view.inputmethod.b l = new androidx.core.view.inputmethod.b(this, 20);
public final void onCreate(Bundle bundle) {
String[] strArr;
super.onCreate(bundle);
setContentView(2131558462);
TitleBar.a configure = findViewById(2131363196).getConfigure();
configure.e(2131886280);
configure.g(new d(this, 16));
configure.a();
ArrayList arrayList = new ArrayList();
int i = 0;
int i10 = 0;
while (true) {
strArr = n;
if (i10 >= strArr.length) {
break;
}
String y10 = j4.b.y(this, strArr[i10]);
if (com.google.ads.mediation.unity.b.y(this) && strArr[i10] != null) {
y10 = c.j(android.support.v4.media.b.p(y10, " {"), strArr[i10], "}");
}
e eVar = new e(this, i10, y10);
eVar.setThinkItemClickListener(this.l);
arrayList.add(eVar);
i10++;
}
ThinkList findViewById = findViewById(2131363213);
SharedPreferences sharedPreferences = getSharedPreferences("main", 0);
String string = sharedPreferences != null ? sharedPreferences.getString("language", null) : null;
if (string != null) {
int i11 = 1;
while (true) {
if (i11 >= strArr.length) {
break;
}
if (strArr[i11].equals(string)) {
i = i11;
break;
}
i11++;
}
}
findViewById.setAdapter(new jl.a(arrayList, i));
}
}