package ca.canadapost.core.common.customView;

import java.util.List;

/* loaded from: classes.dex */
public final class w extends androidx.fragment.app.e0 {

    /* renamed from: h, reason: collision with root package name */
    private final List f7805h;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public w(List fragments, androidx.fragment.app.z fm2) {
        super(fm2);
        kotlin.jvm.internal.t.g(fragments, "fragments");
        kotlin.jvm.internal.t.g(fm2, "fm");
        this.f7805h = fragments;
    }

    @Override // androidx.viewpager.widget.a
    public int c() {
        return this.f7805h.size();
    }

    @Override // androidx.viewpager.widget.a
    public CharSequence e(int i10) {
        return ((x) this.f7805h.get(i10)).b();
    }

    @Override // androidx.fragment.app.e0
    public androidx.fragment.app.f p(int i10) {
        return ((x) this.f7805h.get(i10)).a();
    }
}
