package defpackage;

import android.R;
import android.view.ContextThemeWrapper;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import androidx.appcompat.app.AlertController$RecycleListView;

/* renamed from: ᵺᵸˑ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C5155 extends ArrayAdapter {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final /* synthetic */ AlertController$RecycleListView f19199;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final /* synthetic */ C0591 f19200;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C5155(C0591 c0591, ContextThemeWrapper contextThemeWrapper, int i, CharSequence[] charSequenceArr, AlertController$RecycleListView alertController$RecycleListView) {
        super(contextThemeWrapper, i, R.id.text1, charSequenceArr);
        this.f19200 = c0591;
        this.f19199 = alertController$RecycleListView;
    }

    @Override // android.widget.ArrayAdapter, android.widget.Adapter
    public final View getView(int i, View view, ViewGroup viewGroup) {
        View view2 = super.getView(i, view, viewGroup);
        boolean[] zArr = this.f19200.f2988;
        if (zArr != null && zArr[i]) {
            this.f19199.setItemChecked(i, true);
        }
        return view2;
    }
}
