package ab;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import androidx.databinding.n;
import androidx.lifecycle.u;
import za.d0;
import za.g0;
import za.h0;
import za.k;

/* loaded from: classes4.dex */
public class f extends e {
    private static final n.i G;
    private static final SparseIntArray H;
    private final LinearLayout E;
    private long F;

    static {
        n.i iVar = new n.i(4);
        G = iVar;
        iVar.a(0, new String[]{"edit_address_fragment"}, new int[]{1}, new int[]{h0.f53332e});
        SparseIntArray sparseIntArray = new SparseIntArray();
        H = sparseIntArray;
        sparseIntArray.put(g0.f53325f, 2);
        sparseIntArray.put(g0.f53326g, 3);
    }

    public f(androidx.databinding.e eVar, View view) {
        this(eVar, view, n.E(eVar, view, 4, G, H));
    }

    private boolean V(i iVar, int i10) {
        if (i10 != d0.f53311a) {
            return false;
        }
        synchronized (this) {
            this.F |= 1;
        }
        return true;
    }

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.F = 4L;
        }
        this.A.B();
        J();
    }

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        if (i10 != 0) {
            return false;
        }
        return V((i) obj, i11);
    }

    @Override // androidx.databinding.n
    public void O(u uVar) {
        super.O(uVar);
        this.A.O(uVar);
    }

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        if (d0.f53312b != i10) {
            return false;
        }
        U((k) obj);
        return true;
    }

    @Override // ab.e
    public void U(k kVar) {
        this.D = kVar;
        synchronized (this) {
            this.F |= 2;
        }
        f(d0.f53312b);
        super.J();
    }

    @Override // androidx.databinding.n
    protected void n() {
        long j10;
        synchronized (this) {
            j10 = this.F;
            this.F = 0L;
        }
        k kVar = this.D;
        if ((j10 & 6) != 0) {
            this.A.U(kVar);
        }
        n.p(this.A);
    }

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

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