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

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
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.projectbnspumkm.R;
import com.google.android.material.button.MaterialButton;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final MaterialButton btnAddToCart;

  @NonNull
  public final MaterialButton btnUpdate;

  @NonNull
  public final ImageView ivArrowBack;

  @NonNull
  public final ImageView ivDelete;

  @NonNull
  public final ImageView ivPicture;

  @NonNull
  public final LinearLayout linear;

  @NonNull
  public final TextView tvDeskripsi;

  @NonNull
  public final TextView tvNama;

  @NonNull
  public final TextView tvPrice;

  private FragmentDetailCatalogBinding(@NonNull ConstraintLayout rootView,
      @NonNull MaterialButton btnAddToCart, @NonNull MaterialButton btnUpdate,
      @NonNull ImageView ivArrowBack, @NonNull ImageView ivDelete, @NonNull ImageView ivPicture,
      @NonNull LinearLayout linear, @NonNull TextView tvDeskripsi, @NonNull TextView tvNama,
      @NonNull TextView tvPrice) {
    this.rootView = rootView;
    this.btnAddToCart = btnAddToCart;
    this.btnUpdate = btnUpdate;
    this.ivArrowBack = ivArrowBack;
    this.ivDelete = ivDelete;
    this.ivPicture = ivPicture;
    this.linear = linear;
    this.tvDeskripsi = tvDeskripsi;
    this.tvNama = tvNama;
    this.tvPrice = tvPrice;
  }

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

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

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

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

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

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

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

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

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

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

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

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

      return new FragmentDetailCatalogBinding((ConstraintLayout) rootView, btnAddToCart, btnUpdate,
          ivArrowBack, ivDelete, ivPicture, linear, tvDeskripsi, tvNama, tvPrice);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
