正在查看: Fancy Optimizer v4.6.3 应用的 NewsDeveloperActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 NewsDeveloperActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fancyclean.boost.news.ui.activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.widget.LinearLayout;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AlertDialog;
import androidx.core.content.ContextCompat;
import com.facebook.internal.i0;
import com.fancyclean.boost.news.ui.activity.NewsDeveloperActivity;
import com.rengwuxian.materialedittext.MaterialEditText;
import com.thinkyeah.common.ui.dialog.c;
import com.thinkyeah.common.ui.view.TitleBar;
import hl.b;
import java.util.ArrayList;
import jl.d;
public class NewsDeveloperActivity extends v7.a<b> {
public static final int m = 0;
public final androidx.core.view.inputmethod.b l = new androidx.core.view.inputmethod.b(this, 24);
public static class a extends c<NewsDeveloperActivity> {
public static final int c = 0;
@NonNull
public final Dialog onCreateDialog(Bundle bundle) {
final MaterialEditText materialEditText = new MaterialEditText(getActivity());
materialEditText.setMetTextColor(ContextCompat.getColor(getContext(), 2131100564));
materialEditText.setFloatingLabel(2);
materialEditText.setHint("Url");
materialEditText.setFloatingLabelText((CharSequence) null);
materialEditText.setSingleLine(true);
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
layoutParams.setMargins(getResources().getDimensionPixelSize(2131165961), getResources().getDimensionPixelSize(2131165962), getResources().getDimensionPixelSize(2131165961), getResources().getDimensionPixelSize(2131165962));
materialEditText.setLayoutParams(layoutParams);
materialEditText.setInputType(16);
c.a aVar = new c.a(getActivity());
aVar.d = "Open News with URL";
aVar.x = materialEditText;
aVar.e(2131888176, (DialogInterface.OnClickListener) null);
final AlertDialog a = aVar.a();
a.setOnShowListener(new DialogInterface.OnShowListener() {
@Override
public final void onShow(DialogInterface dialogInterface) {
int i = NewsDeveloperActivity.a.c;
NewsDeveloperActivity.a aVar2 = NewsDeveloperActivity.a.this;
aVar2.getClass();
AlertDialog alertDialog = a;
alertDialog.getButton(-1).setOnClickListener(new c6.c(aVar2, materialEditText, alertDialog, 2));
}
});
return a;
}
}
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(2131558524);
TitleBar.a configure = findViewById(2131363196).getConfigure();
configure.f("News");
configure.g(new i0(this, 23));
configure.a();
ArrayList arrayList = new ArrayList();
d dVar = new d(this, 0, "Has Delayed News");
dVar.setValue(fa.a.a(this) != null ? "Yes" : "No");
arrayList.add(dVar);
d dVar2 = new d(this, 1, "Show News");
dVar2.setThinkItemClickListener(this.l);
arrayList.add(dVar2);
findViewById(2131363202).setAdapter(new jl.b(arrayList));
}
}