导航菜单

页面标题

页面副标题

Fancy Optimizer v4.6.3 - SimilarPhotoDeveloperActivity.java 源代码

正在查看: Fancy Optimizer v4.6.3 应用的 SimilarPhotoDeveloperActivity.java JAVA 源代码文件

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


package com.fancyclean.boost.similarphoto.ui.activity;

import android.content.SharedPreferences;
import android.os.Bundle;
import com.thinkyeah.common.ui.thinklist.a;
import com.thinkyeah.common.ui.view.TitleBar;
import java.util.ArrayList;
import wb.f;

public class SimilarPhotoDeveloperActivity extends v7.a {
    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 = SimilarPhotoDeveloperActivity.this.getSharedPreferences("similar_photo", 0);
            SharedPreferences.Editor edit = sharedPreferences == null ? null : sharedPreferences.edit();
            if (edit == null) {
                return;
            }
            edit.putBoolean("show_debug_info", z10);
            edit.apply();
        }
    }

    public final void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(2131558521);
        TitleBar.a configure = findViewById(2131363196).getConfigure();
        configure.e(2131887951);
        configure.g(new f(this));
        configure.a();
        ArrayList arrayList = new ArrayList();
        SharedPreferences sharedPreferences = getSharedPreferences("similar_photo", 0);
        com.thinkyeah.common.ui.thinklist.a aVar = new com.thinkyeah.common.ui.thinklist.a("Show Debug Info", this, sharedPreferences != null ? sharedPreferences.getBoolean("show_debug_info", false) : false, 1);
        aVar.setToggleButtonClickListener(this.l);
        arrayList.add(aVar);
        findViewById(2131363202).setAdapter(new jl.b(arrayList));
    }
}