package ad;

import android.util.SparseIntArray;
import android.view.View;
import androidx.databinding.n;
import androidx.recyclerview.widget.RecyclerView;
import ca.canadapost.core.common.ui.CpcFragmentContainerFullView;
import java.util.List;

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

    public d(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 (yc.a.f52075b != i10) {
            return false;
        }
        U((zc.b) obj);
        return true;
    }

    public void U(zc.b bVar) {
        this.B = bVar;
        synchronized (this) {
            this.D |= 1;
        }
        f(yc.a.f52075b);
        super.J();
    }

    @Override // androidx.databinding.n
    protected void n() {
        long j10;
        synchronized (this) {
            j10 = this.D;
            this.D = 0L;
        }
        zc.b bVar = this.B;
        long j11 = j10 & 3;
        List Q = (j11 == 0 || bVar == null) ? null : bVar.Q();
        if (j11 != 0) {
            u7.g.b(this.A, Q, false, false);
        }
    }

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

    private d(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0, (RecyclerView) objArr[1]);
        this.D = -1L;
        CpcFragmentContainerFullView cpcFragmentContainerFullView = (CpcFragmentContainerFullView) objArr[0];
        this.C = cpcFragmentContainerFullView;
        cpcFragmentContainerFullView.setTag(null);
        this.A.setTag(null);
        P(view);
        B();
    }
}
