package N1;

import android.view.ViewGroup;

/* JADX INFO: loaded from: classes.dex */
public abstract class T {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final U f4490a = new U(0);

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public boolean f4491b = false;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f4492c = 1;

    public abstract int a();

    public long b(int i) {
        return -1L;
    }

    public int c(int i) {
        return 0;
    }

    public final void d() {
        this.f4490a.b();
    }

    public final void e(int i) {
        this.f4490a.e(i, 1, null);
    }

    public abstract void f(t0 t0Var, int i);

    public void g(t0 t0Var, int i) {
        f(t0Var, i);
    }

    public abstract t0 h(ViewGroup viewGroup, int i);

    public final void m(boolean z8) {
        if (this.f4490a.a()) {
            throw new IllegalStateException("Cannot change whether this adapter has stable IDs while the adapter has registered observers.");
        }
        this.f4491b = z8;
    }

    public void i(t0 t0Var) {
    }

    public void j(t0 t0Var) {
    }

    public void k(t0 t0Var) {
    }

    public void l(t0 t0Var) {
    }
}
