package zf;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.ScrollView;
import androidx.databinding.n;
import jg.w4;

/* loaded from: classes4.dex */
public class t3 extends s3 {
    private static final n.i E;
    private static final SparseIntArray F;
    private final ScrollView C;
    private long D;

    static {
        n.i iVar = new n.i(2);
        E = iVar;
        iVar.a(0, new String[]{"track_add_edit_fragment_content"}, new int[]{1}, new int[]{yf.e.f52523n0});
        F = null;
    }

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

    private boolean U(u3 u3Var, int i10) {
        if (i10 != yf.a.f52370a) {
            return false;
        }
        synchronized (this) {
            this.D |= 1;
        }
        return true;
    }

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

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

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

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        if (yf.a.f52373d != i10) {
            return false;
        }
        V((w4) obj);
        return true;
    }

    public void V(w4 w4Var) {
        this.B = w4Var;
        synchronized (this) {
            this.D |= 2;
        }
        f(yf.a.f52373d);
        super.J();
    }

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

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

    private t3(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 1, (u3) objArr[1]);
        this.D = -1L;
        N(this.A);
        ScrollView scrollView = (ScrollView) objArr[0];
        this.C = scrollView;
        scrollView.setTag(null);
        P(view);
        B();
    }
}
