package jb;

import android.util.SparseIntArray;
import android.view.View;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.n;
import androidx.fragment.app.FragmentContainerView;
import ib.x0;

/* loaded from: classes4.dex */
public class d extends c {
    private static final n.i E;
    private static final SparseIntArray F;
    private final ConstraintLayout C;
    private long D;

    static {
        n.i iVar = new n.i(3);
        E = iVar;
        iVar.a(0, new String[]{"appbar"}, new int[]{1}, new int[]{h7.j.f21087b});
        SparseIntArray sparseIntArray = new SparseIntArray();
        F = sparseIntArray;
        sparseIntArray.put(x0.U, 2);
    }

    public d(androidx.databinding.e eVar, View view) {
        this(eVar, view, androidx.databinding.n.E(eVar, view, 3, E, F));
    }

    private boolean U(u7.c cVar, int i10) {
        if (i10 != ib.a.f22530a) {
            return false;
        }
        synchronized (this) {
            this.D |= 1;
        }
        return true;
    }

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.D = 2L;
        }
        this.A.B();
        J();
    }

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        if (i10 != 0) {
            return false;
        }
        return U((u7.c) obj, i11);
    }

    @Override // androidx.databinding.n
    public void O(androidx.lifecycle.u uVar) {
        super.O(uVar);
        this.A.O(uVar);
    }

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        return true;
    }

    @Override // androidx.databinding.n
    protected void n() {
        synchronized (this) {
            this.D = 0L;
        }
        androidx.databinding.n.p(this.A);
    }

    @Override // androidx.databinding.n
    public boolean z() {
        synchronized (this) {
            if (this.D != 0) {
                return true;
            }
            return this.A.z();
        }
    }

    private d(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 1, (u7.c) objArr[1], (FragmentContainerView) objArr[2]);
        this.D = -1L;
        N(this.A);
        ConstraintLayout constraintLayout = (ConstraintLayout) objArr[0];
        this.C = constraintLayout;
        constraintLayout.setTag(null);
        P(view);
        B();
    }
}
