// 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.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import androidx.viewpager2.widget.ViewPager2;
import com.example.orderly.R;
import com.google.android.material.card.MaterialCardView;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentCatalogBinding implements ViewBinding {
  @NonNull
  private final CoordinatorLayout rootView;

  @NonNull
  public final MaterialCardView cvProfile;

  @NonNull
  public final EditText etSearch;

  @NonNull
  public final FloatingActionButton fabLocation;

  @NonNull
  public final ImageView ivProfile;

  @NonNull
  public final RecyclerView rvProducts;

  @NonNull
  public final TextView tvLogo;

  @NonNull
  public final ViewPager2 vpFeatured;

  private FragmentCatalogBinding(@NonNull CoordinatorLayout rootView,
      @NonNull MaterialCardView cvProfile, @NonNull EditText etSearch,
      @NonNull FloatingActionButton fabLocation, @NonNull ImageView ivProfile,
      @NonNull RecyclerView rvProducts, @NonNull TextView tvLogo, @NonNull ViewPager2 vpFeatured) {
    this.rootView = rootView;
    this.cvProfile = cvProfile;
    this.etSearch = etSearch;
    this.fabLocation = fabLocation;
    this.ivProfile = ivProfile;
    this.rvProducts = rvProducts;
    this.tvLogo = tvLogo;
    this.vpFeatured = vpFeatured;
  }

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

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

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

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

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

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

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

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

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

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

      return new FragmentCatalogBinding((CoordinatorLayout) rootView, cvProfile, etSearch,
          fabLocation, ivProfile, rvProducts, tvLogo, vpFeatured);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
