package fd;

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

/* 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[]{2}, new int[]{h7.j.f21087b});
        SparseIntArray sparseIntArray = new SparseIntArray();
        G = sparseIntArray;
        sparseIntArray.put(ed.j.f16922r, 1);
    }

    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 != ed.a.f16891a) {
            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 (ed.a.f16894d != i10) {
            return false;
        }
        U((ed.e) obj);
        return true;
    }

    @Override // fd.c
    public void U(ed.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[2], (View) objArr[1]);
        this.E = -1L;
        N(this.A);
        CoordinatorLayout coordinatorLayout = (CoordinatorLayout) objArr[0];
        this.D = coordinatorLayout;
        coordinatorLayout.setTag(null);
        P(view);
        B();
    }
}
