package od;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import androidx.databinding.n;
import androidx.fragment.app.FragmentContainerView;

/* loaded from: classes4.dex */
public class b extends a {
    private static final n.i F;
    private static final SparseIntArray G;
    private final LinearLayout D;
    private long E;

    static {
        n.i iVar = new n.i(4);
        F = iVar;
        iVar.a(0, new String[]{"appbar"}, new int[]{1}, new int[]{h7.j.f21087b});
        SparseIntArray sparseIntArray = new SparseIntArray();
        G = sparseIntArray;
        sparseIntArray.put(ld.j.T, 2);
        sparseIntArray.put(ld.j.Q, 3);
    }

    public b(androidx.databinding.e eVar, View view) {
        this(eVar, view, androidx.databinding.n.E(eVar, view, 4, F, G));
    }

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

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.E = 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.E = 0L;
        }
        androidx.databinding.n.p(this.A);
    }

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

    private b(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 1, (u7.c) objArr[1], (FragmentContainerView) objArr[3], (CoordinatorLayout) objArr[2]);
        this.E = -1L;
        N(this.A);
        LinearLayout linearLayout = (LinearLayout) objArr[0];
        this.D = linearLayout;
        linearLayout.setTag(null);
        P(view);
        B();
    }
}
