// Generated by view binder compiler. Do not edit!
package com.ElyStudio.leGaou.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.ElyStudio.leGaou.R;
import com.google.android.material.card.MaterialCardView;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class QuizCardLayoutBinding implements ViewBinding {
  @NonNull
  private final MaterialCardView rootView;

  @NonNull
  public final ImageView coinIcon;

  @NonNull
  public final MaterialCardView quizCard;

  @NonNull
  public final TextView quizEntryFee;

  @NonNull
  public final ImageView quizIcon;

  @NonNull
  public final TextView quizTitle;

  @NonNull
  public final TextView textView6;

  private QuizCardLayoutBinding(@NonNull MaterialCardView rootView, @NonNull ImageView coinIcon,
      @NonNull MaterialCardView quizCard, @NonNull TextView quizEntryFee,
      @NonNull ImageView quizIcon, @NonNull TextView quizTitle, @NonNull TextView textView6) {
    this.rootView = rootView;
    this.coinIcon = coinIcon;
    this.quizCard = quizCard;
    this.quizEntryFee = quizEntryFee;
    this.quizIcon = quizIcon;
    this.quizTitle = quizTitle;
    this.textView6 = textView6;
  }

  @Override
  @NonNull
  public MaterialCardView getRoot() {
    return rootView;
  }

  @NonNull
  public static QuizCardLayoutBinding inflate(@NonNull LayoutInflater inflater) {
    return inflate(inflater, null, false);
  }

  @NonNull
  public static QuizCardLayoutBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup parent, boolean attachToParent) {
    View root = inflater.inflate(R.layout.quiz_card_layout, parent, false);
    if (attachToParent) {
      parent.addView(root);
    }
    return bind(root);
  }

  @NonNull
  public static QuizCardLayoutBinding bind(@NonNull View rootView) {
    // The body of this method is generated in a way you would not otherwise write.
    // This is done to optimize the compiled bytecode for size and performance.
    int id;
    missingId: {
      id = R.id.coinIcon;
      ImageView coinIcon = ViewBindings.findChildViewById(rootView, id);
      if (coinIcon == null) {
        break missingId;
      }

      MaterialCardView quizCard = (MaterialCardView) rootView;

      id = R.id.quizEntryFee;
      TextView quizEntryFee = ViewBindings.findChildViewById(rootView, id);
      if (quizEntryFee == null) {
        break missingId;
      }

      id = R.id.quizIcon;
      ImageView quizIcon = ViewBindings.findChildViewById(rootView, id);
      if (quizIcon == null) {
        break missingId;
      }

      id = R.id.quizTitle;
      TextView quizTitle = ViewBindings.findChildViewById(rootView, id);
      if (quizTitle == null) {
        break missingId;
      }

      id = R.id.textView6;
      TextView textView6 = ViewBindings.findChildViewById(rootView, id);
      if (textView6 == null) {
        break missingId;
      }

      return new QuizCardLayoutBinding((MaterialCardView) rootView, coinIcon, quizCard,
          quizEntryFee, quizIcon, quizTitle, textView6);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
