package ae;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.databinding.n;

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

    public l0(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 (yd.a.f52236d != i10) {
            return false;
        }
        U((ca.canadapost.module.mymail.subscribed.e) obj);
        return true;
    }

    public void U(ca.canadapost.module.mymail.subscribed.e eVar) {
        this.C = eVar;
        synchronized (this) {
            this.E |= 1;
        }
        f(yd.a.f52236d);
        super.J();
    }

    @Override // androidx.databinding.n
    protected void n() {
        long j10;
        String str;
        String str2;
        synchronized (this) {
            j10 = this.E;
            this.E = 0L;
        }
        ca.canadapost.module.mymail.subscribed.e eVar = this.C;
        long j11 = j10 & 3;
        if (j11 == 0 || eVar == null) {
            str = null;
            str2 = null;
        } else {
            str = eVar.d();
            str2 = eVar.c();
        }
        if (j11 != 0) {
            b4.e.e(this.A, str2);
            b4.e.e(this.B, str);
        }
    }

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

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