package zb;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.Button;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.n;

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

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        F = sparseIntArray;
        sparseIntArray.put(ob.i.Z, 1);
    }

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

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

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        return false;
    }

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        if (ob.a.f31095d != i10) {
            return false;
        }
        U((cc.c2) obj);
        return true;
    }

    public void U(cc.c2 c2Var) {
        this.B = c2Var;
    }

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

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

    private x2(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0, (Button) objArr[1]);
        this.D = -1L;
        ConstraintLayout constraintLayout = (ConstraintLayout) objArr[0];
        this.C = constraintLayout;
        constraintLayout.setTag(null);
        P(view);
        B();
    }
}
