// Generated by view binder compiler. Do not edit!
package com.mtc.goldenVendor.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.widget.NestedScrollView;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;
import com.mtc.goldenVendor.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentProductsBinding implements ViewBinding {
  @NonNull
  private final NestedScrollView rootView;

  @NonNull
  public final Button btnMostRated;

  @NonNull
  public final Button btnMostSoled;

  @NonNull
  public final ImageView imgRefresh;

  @NonNull
  public final LinearLayout linearMostRated;

  @NonNull
  public final LinearLayout linearMostSoled;

  @NonNull
  public final RecyclerView mostRatedRecycle;

  @NonNull
  public final RecyclerView mostSoledRecycle;

  @NonNull
  public final TextView tvFilter;

  private FragmentProductsBinding(@NonNull NestedScrollView rootView, @NonNull Button btnMostRated,
      @NonNull Button btnMostSoled, @NonNull ImageView imgRefresh,
      @NonNull LinearLayout linearMostRated, @NonNull LinearLayout linearMostSoled,
      @NonNull RecyclerView mostRatedRecycle, @NonNull RecyclerView mostSoledRecycle,
      @NonNull TextView tvFilter) {
    this.rootView = rootView;
    this.btnMostRated = btnMostRated;
    this.btnMostSoled = btnMostSoled;
    this.imgRefresh = imgRefresh;
    this.linearMostRated = linearMostRated;
    this.linearMostSoled = linearMostSoled;
    this.mostRatedRecycle = mostRatedRecycle;
    this.mostSoledRecycle = mostSoledRecycle;
    this.tvFilter = tvFilter;
  }

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

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

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

  @NonNull
  public static FragmentProductsBinding 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_most_rated;
      Button btnMostRated = rootView.findViewById(id);
      if (btnMostRated == null) {
        break missingId;
      }

      id = R.id.btn_most_soled;
      Button btnMostSoled = rootView.findViewById(id);
      if (btnMostSoled == null) {
        break missingId;
      }

      id = R.id.img_refresh;
      ImageView imgRefresh = rootView.findViewById(id);
      if (imgRefresh == null) {
        break missingId;
      }

      id = R.id.linear_most_rated;
      LinearLayout linearMostRated = rootView.findViewById(id);
      if (linearMostRated == null) {
        break missingId;
      }

      id = R.id.linear_most_soled;
      LinearLayout linearMostSoled = rootView.findViewById(id);
      if (linearMostSoled == null) {
        break missingId;
      }

      id = R.id.most_rated_recycle;
      RecyclerView mostRatedRecycle = rootView.findViewById(id);
      if (mostRatedRecycle == null) {
        break missingId;
      }

      id = R.id.most_soled_recycle;
      RecyclerView mostSoledRecycle = rootView.findViewById(id);
      if (mostSoledRecycle == null) {
        break missingId;
      }

      id = R.id.tv_filter;
      TextView tvFilter = rootView.findViewById(id);
      if (tvFilter == null) {
        break missingId;
      }

      return new FragmentProductsBinding((NestedScrollView) rootView, btnMostRated, btnMostSoled,
          imgRefresh, linearMostRated, linearMostSoled, mostRatedRecycle, mostSoledRecycle,
          tvFilter);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
