package ie;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import org.drive_hunter.R;
import xyz.stream.view.CustomImageView;

/* JADX INFO: loaded from: classes3.dex */
public final class l2 implements v3.a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final ConstraintLayout f27173a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final CustomImageView f27174b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final TextView f27175c;

    public l2(ConstraintLayout constraintLayout, CustomImageView customImageView, TextView textView) {
        this.f27173a = constraintLayout;
        this.f27174b = customImageView;
        this.f27175c = textView;
    }

    @NonNull
    public static l2 inflate(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, boolean z10) {
        View viewInflate = layoutInflater.inflate(R.layout.item_search_channel, viewGroup, false);
        if (z10) {
            viewGroup.addView(viewInflate);
        }
        int i10 = R.id.iv_channel_icon;
        CustomImageView customImageView = (CustomImageView) v3.b.findChildViewById(viewInflate, R.id.iv_channel_icon);
        if (customImageView != null) {
            i10 = R.id.tv_channel_name;
            TextView textView = (TextView) v3.b.findChildViewById(viewInflate, R.id.tv_channel_name);
            if (textView != null) {
                return new l2((ConstraintLayout) viewInflate, customImageView, textView);
            }
        }
        throw new NullPointerException("Missing required view with ID: ".concat(viewInflate.getResources().getResourceName(i10)));
    }

    @Override // v3.a
    public final View getRoot() {
        return this.f27173a;
    }
}
