package u7;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.TextView;
import androidx.databinding.n;
import ca.canadapost.core.common.ui.CpcDialogFragmentView;

/* loaded from: classes.dex */
public class r1 extends q1 {
    private static final n.i F = null;
    private static final SparseIntArray G;
    private long E;

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        G = sparseIntArray;
        sparseIntArray.put(h7.i.D0, 1);
        sparseIntArray.put(h7.i.B, 2);
    }

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

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.E = 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 (h7.a.f20948e != i10) {
            return false;
        }
        U((u8.t) obj);
        return true;
    }

    public void U(u8.t tVar) {
        this.D = tVar;
    }

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

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

    private r1(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0, (TextView) objArr[2], (CpcDialogFragmentView) objArr[0], (TextView) objArr[1]);
        this.E = -1L;
        this.B.setTag(null);
        P(view);
        B();
    }
}
