// 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.github.mikephil.charting.charts.PieChart;
import com.mtc.goldenVendor.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final Button btnCurrentOrders;

  @NonNull
  public final Button btnMostRated;

  @NonNull
  public final Button btnMostSoled;

  @NonNull
  public final TextView canceledPercent;

  @NonNull
  public final PieChart chart;

  @NonNull
  public final TextView completePercent;

  @NonNull
  public final RecyclerView currentOrdersRecycle;

  @NonNull
  public final ImageView imgOrdersSettings;

  @NonNull
  public final ImageView imgRefresh;

  @NonNull
  public final LinearLayout linearCanceled;

  @NonNull
  public final LinearLayout linearCurrentOrders;

  @NonNull
  public final LinearLayout linearDelivred;

  @NonNull
  public final LinearLayout linearMostRated;

  @NonNull
  public final LinearLayout linearMostSoled;

  @NonNull
  public final LinearLayout linearUnderway;

  @NonNull
  public final RecyclerView mostRatedRecycle;

  @NonNull
  public final RecyclerView mostSoledRecycle;

  @NonNull
  public final TextView tvCanceled;

  @NonNull
  public final TextView tvComplete;

  @NonNull
  public final TextView tvUnderway;

  @NonNull
  public final TextView underwayPercent;

  private FragmentHomeBinding(@NonNull NestedScrollView rootView, @NonNull Button btnCurrentOrders,
      @NonNull Button btnMostRated, @NonNull Button btnMostSoled, @NonNull TextView canceledPercent,
      @NonNull PieChart chart, @NonNull TextView completePercent,
      @NonNull RecyclerView currentOrdersRecycle, @NonNull ImageView imgOrdersSettings,
      @NonNull ImageView imgRefresh, @NonNull LinearLayout linearCanceled,
      @NonNull LinearLayout linearCurrentOrders, @NonNull LinearLayout linearDelivred,
      @NonNull LinearLayout linearMostRated, @NonNull LinearLayout linearMostSoled,
      @NonNull LinearLayout linearUnderway, @NonNull RecyclerView mostRatedRecycle,
      @NonNull RecyclerView mostSoledRecycle, @NonNull TextView tvCanceled,
      @NonNull TextView tvComplete, @NonNull TextView tvUnderway,
      @NonNull TextView underwayPercent) {
    this.rootView = rootView;
    this.btnCurrentOrders = btnCurrentOrders;
    this.btnMostRated = btnMostRated;
    this.btnMostSoled = btnMostSoled;
    this.canceledPercent = canceledPercent;
    this.chart = chart;
    this.completePercent = completePercent;
    this.currentOrdersRecycle = currentOrdersRecycle;
    this.imgOrdersSettings = imgOrdersSettings;
    this.imgRefresh = imgRefresh;
    this.linearCanceled = linearCanceled;
    this.linearCurrentOrders = linearCurrentOrders;
    this.linearDelivred = linearDelivred;
    this.linearMostRated = linearMostRated;
    this.linearMostSoled = linearMostSoled;
    this.linearUnderway = linearUnderway;
    this.mostRatedRecycle = mostRatedRecycle;
    this.mostSoledRecycle = mostSoledRecycle;
    this.tvCanceled = tvCanceled;
    this.tvComplete = tvComplete;
    this.tvUnderway = tvUnderway;
    this.underwayPercent = underwayPercent;
  }

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

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

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

  @NonNull
  public static FragmentHomeBinding 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_current_orders;
      Button btnCurrentOrders = rootView.findViewById(id);
      if (btnCurrentOrders == null) {
        break 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.canceled_percent;
      TextView canceledPercent = rootView.findViewById(id);
      if (canceledPercent == null) {
        break missingId;
      }

      id = R.id.chart;
      PieChart chart = rootView.findViewById(id);
      if (chart == null) {
        break missingId;
      }

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

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

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

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

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

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

      id = R.id.linear_delivred;
      LinearLayout linearDelivred = rootView.findViewById(id);
      if (linearDelivred == 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.linear_underway;
      LinearLayout linearUnderway = rootView.findViewById(id);
      if (linearUnderway == 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_canceled;
      TextView tvCanceled = rootView.findViewById(id);
      if (tvCanceled == null) {
        break missingId;
      }

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

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

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

      return new FragmentHomeBinding((NestedScrollView) rootView, btnCurrentOrders, btnMostRated,
          btnMostSoled, canceledPercent, chart, completePercent, currentOrdersRecycle,
          imgOrdersSettings, imgRefresh, linearCanceled, linearCurrentOrders, linearDelivred,
          linearMostRated, linearMostSoled, linearUnderway, mostRatedRecycle, mostSoledRecycle,
          tvCanceled, tvComplete, tvUnderway, underwayPercent);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
