package od;

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

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

    static {
        n.i iVar = new n.i(3);
        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.Q, 2);
    }

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

    private boolean V(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 = 4L;
        }
        this.A.B();
        J();
    }

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        if (i10 != 0) {
            return false;
        }
        return V((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) {
        if (ld.a.f27863c != i10) {
            return false;
        }
        U((ld.e) obj);
        return true;
    }

    @Override // od.c
    public void U(ld.e eVar) {
        this.C = eVar;
    }

    @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 d(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 1, (u7.c) objArr[1], (FragmentContainerView) objArr[2]);
        this.E = -1L;
        N(this.A);
        CoordinatorLayout coordinatorLayout = (CoordinatorLayout) objArr[0];
        this.D = coordinatorLayout;
        coordinatorLayout.setTag(null);
        P(view);
        B();
    }
}
