package ec;

import android.util.SparseIntArray;
import android.view.View;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.n;
import androidx.viewpager.widget.ViewPager;
import ca.canadapost.core.common.customView.CustomSlidingTabLayout;

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

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        G = sparseIntArray;
        sparseIntArray.put(dc.d0.f16010o, 1);
        sparseIntArray.put(dc.d0.f15993f0, 2);
    }

    public z(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 (dc.a.f15952b != i10) {
            return false;
        }
        U((ca.canadapost.module.findrate.d) obj);
        return true;
    }

    public void U(ca.canadapost.module.findrate.d dVar) {
        this.C = dVar;
    }

    @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 z(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0, (CustomSlidingTabLayout) objArr[1], (ViewPager) objArr[2]);
        this.E = -1L;
        ConstraintLayout constraintLayout = (ConstraintLayout) objArr[0];
        this.D = constraintLayout;
        constraintLayout.setTag(null);
        P(view);
        B();
    }
}
