导航菜单

页面标题

页面副标题

TodoCrédito v1.4 - Ada.java 源代码

正在查看: TodoCrédito v1.4 应用的 Ada.java JAVA 源代码文件

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


package com.tdcd.mx.unhappiness.wqkg;

import android.os.Bundle;
import android.view.MenuItem;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.fragment.app.o;
import androidx.viewpager2.adapter.FragmentStateAdapter;
import com.google.android.material.navigation.NavigationBarView;
import com.tdcd.mx.bowlines.bcojqc.Incompatible;
import com.tdcd.mx.ds.R$id;
import com.tdcd.mx.ds.databinding.OtBinding;
import com.tdcd.mx.pvhczd.evidences.Quivered;
import com.tdcd.mx.unhappiness.Horrified;
import com.tdcd.mx.unhappiness.wqkg.Ada;
import e8.c;
import o5.b;

public class Ada extends Incompatible<o5.a, OtBinding> {

    public class a extends FragmentStateAdapter {
        public a(FragmentActivity fragmentActivity) {
            super(fragmentActivity);
        }

        @Override
        public Fragment e(int i9) {
            if (i9 == 0) {
                return new Uncompromising();
            }
            if (i9 == 1) {
                return new Horrified();
            }
            throw new IllegalStateException("Unexpected position: " + i9);
        }

        @Override
        public int getItemCount() {
            return 2;
        }
    }

    public boolean l0(MenuItem menuItem) {
        j0();
        int itemId = menuItem.getItemId();
        if (itemId == R$id.navigation_home) {
            ((OtBinding) this.G).wary.j(0, false);
            return true;
        }
        if (itemId != R$id.navigation_dashboard) {
            return false;
        }
        ((OtBinding) this.G).wary.j(1, false);
        return true;
    }

    @Override
    public void a0() {
        n0(new Quivered());
    }

    @Override
    public void d0(Bundle bundle) {
        b.c(this, true);
        ((OtBinding) this.G).wary.setOffscreenPageLimit(2);
        ((OtBinding) this.G).wary.setAdapter(new a(this));
        ((OtBinding) this.G).wary.setUserInputEnabled(false);
        ((OtBinding) this.G).epedn.setOnItemSelectedListener(new NavigationBarView.c() {
            @Override
            public final boolean a(MenuItem menuItem) {
                boolean l02;
                l02 = Ada.this.l0(menuItem);
                return l02;
            }
        });
    }

    public void j0() {
        if (((OtBinding) this.G).gewiultdz.C(8388611)) {
            ((OtBinding) this.G).gewiultdz.d(8388611);
        }
    }

    public void k0() {
        ((OtBinding) this.G).wary.j(1, false);
        ((OtBinding) this.G).epedn.getMenu().getItem(1).setChecked(true);
    }

    public void m0() {
        ((OtBinding) this.G).gewiultdz.J(8388611);
    }

    public final void n0(Fragment fragment) {
        o l8 = A().l();
        l8.t(R$id.zteisted, fragment);
        l8.m();
    }

    @Override
    public void onRestart() {
        super.onRestart();
        c.c().k(Boolean.TRUE);
    }
}