// Generated by view binder compiler. Do not edit!
package com.example.orderly.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.orderly.R;
import com.google.android.material.button.MaterialButton;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentDetailBinding implements ViewBinding {
  @NonNull
  private final ConstraintLayout rootView;

  @NonNull
  public final ImageButton btnBack;

  @NonNull
  public final MaterialButton btnDetailPrice;

  @NonNull
  public final ImageButton btnEdit;

  @NonNull
  public final MaterialButton btnOrderNow;

  @NonNull
  public final ImageView ivDetailProduct;

  @NonNull
  public final LinearLayout llBottomAction;

  @NonNull
  public final TextView tvDetailDesc;

  @NonNull
  public final TextView tvDetailName;

  @NonNull
  public final TextView tvDetailRating;

  private FragmentDetailBinding(@NonNull ConstraintLayout rootView, @NonNull ImageButton btnBack,
      @NonNull MaterialButton btnDetailPrice, @NonNull ImageButton btnEdit,
      @NonNull MaterialButton btnOrderNow, @NonNull ImageView ivDetailProduct,
      @NonNull LinearLayout llBottomAction, @NonNull TextView tvDetailDesc,
      @NonNull TextView tvDetailName, @NonNull TextView tvDetailRating) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.btnDetailPrice = btnDetailPrice;
    this.btnEdit = btnEdit;
    this.btnOrderNow = btnOrderNow;
    this.ivDetailProduct = ivDetailProduct;
    this.llBottomAction = llBottomAction;
    this.tvDetailDesc = tvDetailDesc;
    this.tvDetailName = tvDetailName;
    this.tvDetailRating = tvDetailRating;
  }

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

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

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

  @NonNull
  public static FragmentDetailBinding 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.btnBack;
      ImageButton btnBack = ViewBindings.findChildViewById(rootView, id);
      if (btnBack == null) {
        break missingId;
      }

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

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

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

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

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

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

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

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

      return new FragmentDetailBinding((ConstraintLayout) rootView, btnBack, btnDetailPrice,
          btnEdit, btnOrderNow, ivDetailProduct, llBottomAction, tvDetailDesc, tvDetailName,
          tvDetailRating);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
