package zf;

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

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

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        G = sparseIntArray;
        sparseIntArray.put(yf.d.M0, 1);
    }

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

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.E = 4L;
        }
        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 (yf.a.f52373d == i10) {
            V((ca.canadapost.module.track.views.m) obj);
        } else {
            if (yf.a.f52371b != i10) {
                return false;
            }
            U((yf.q) obj);
        }
        return true;
    }

    @Override // zf.c4
    public void U(yf.q qVar) {
        this.C = qVar;
    }

    @Override // zf.c4
    public void V(ca.canadapost.module.track.views.m mVar) {
        this.B = mVar;
    }

    @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 d4(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0, (LinearLayout) objArr[1]);
        this.E = -1L;
        CpcFragmentContainerView cpcFragmentContainerView = (CpcFragmentContainerView) objArr[0];
        this.D = cpcFragmentContainerView;
        cpcFragmentContainerView.setTag(null);
        P(view);
        B();
    }
}
