正在查看: Fancy Optimizer v4.6.3 应用的 NotificationReminderDeveloperActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 NotificationReminderDeveloperActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fancyclean.boost.main.ui.activity.developer;
import android.content.SharedPreferences;
import android.os.Bundle;
import com.facebook.internal.i0;
import com.thinkyeah.common.ui.thinklist.a;
import com.thinkyeah.common.ui.view.TitleBar;
import hl.b;
import java.util.ArrayList;
public class NotificationReminderDeveloperActivity extends v7.a<b> {
public static final int m = 0;
public final a l = new a();
public class a implements a.c {
public a() {
}
public final boolean a(int i, boolean z10) {
return true;
}
public final void b(int i, boolean z10) {
if (i != 1) {
return;
}
SharedPreferences sharedPreferences = NotificationReminderDeveloperActivity.this.getSharedPreferences("main", 0);
SharedPreferences.Editor edit = sharedPreferences == null ? null : sharedPreferences.edit();
if (edit == null) {
return;
}
edit.putBoolean("always_notify_remind", z10);
edit.apply();
}
}
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(2131558524);
TitleBar.a configure = findViewById(2131363196).getConfigure();
configure.f("Notification Reminder");
configure.g(new i0(this, 18));
configure.a();
ArrayList arrayList = new ArrayList();
SharedPreferences sharedPreferences = getSharedPreferences("main", 0);
com.thinkyeah.common.ui.thinklist.a aVar = new com.thinkyeah.common.ui.thinklist.a("Always Remind", this, sharedPreferences != null ? sharedPreferences.getBoolean("always_notify_remind", false) : false, 1);
aVar.setToggleButtonClickListener(this.l);
arrayList.add(aVar);
findViewById(2131363202).setAdapter(new jl.b(arrayList));
}
}