导航菜单

页面标题

页面副标题

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

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

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


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

import android.content.Context;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ProgressBar;
import androidx.recyclerview.widget.GridLayoutManager;
import com.fancyclean.boost.applock.ui.presenter.InitAppLockPresenter;
import com.thinkyeah.common.ui.view.ThinkRecyclerView;
import com.thinkyeah.common.ui.view.TitleBar;
import java.util.ArrayList;
import java.util.HashSet;
import t5.v0;
import t5.w0;
import u5.h;
import v5.j;
import w7.a;

@gl.d(InitAppLockPresenter.class)
public class InitAppLockActivity extends v7.a<Object> implements j {
    public h l;
    public ProgressBar m;
    public Button n;
    public final a o = new a();
    public final b p = new b();

    public class a implements h.b {
    }

    public class b implements a.InterfaceC0281a {
        public b() {
        }

        @Override
        public final void b() {
            ?? r02 = InitAppLockActivity.this;
            r02.n.setText(r02.getString(2131886248, Integer.valueOf(r02.l.n.size())));
        }
    }

    static {
        vj.h.f(InitAppLockActivity.class);
    }

    @Override
    public final void A1(ArrayList arrayList, HashSet hashSet) {
        this.m.setVisibility(8);
        h hVar = this.l;
        hVar.m = arrayList;
        hVar.n.clear();
        h hVar2 = this.l;
        HashSet hashSet2 = hVar2.n;
        hashSet2.clear();
        hashSet2.addAll(hashSet);
        a.InterfaceC0281a interfaceC0281a = hVar2.j;
        if (interfaceC0281a != null) {
            interfaceC0281a.b();
        }
        this.l.notifyDataSetChanged();
        this.n.setEnabled(true);
    }

    @Override
    public final void b2() {
        this.n.setEnabled(false);
    }

    public final void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(2131558487);
        TitleBar.a configure = findViewById(2131363196).getConfigure();
        configure.e(2131887867);
        configure.g(new v0(this));
        configure.a();
        ThinkRecyclerView findViewById = findViewById(2131363001);
        findViewById.setHasFixedSize(true);
        findViewById.setLayoutManager(new GridLayoutManager(this, 3));
        h hVar = new h(this);
        this.l = hVar;
        hVar.i = true;
        hVar.o = this.o;
        hVar.j = this.p;
        findViewById.setAdapter(hVar);
        ProgressBar progressBar = (ProgressBar) findViewById(2131362114);
        this.m = progressBar;
        progressBar.setIndeterminate(true);
        Button button = (Button) findViewById(2131362005);
        this.n = button;
        button.setText(getString(2131886248, 0));
        this.n.setOnClickListener(new w0(this));
    }

    @Override
    public final Context getContext() {
        return this;
    }
}