// 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.LinearLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
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 FragmentOrdersBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final RecyclerView archivedOrdersRecycle;

  @NonNull
  public final Button btnArchivedOrders;

  @NonNull
  public final Button btnCurrentOrders;

  @NonNull
  public final RecyclerView currentOrdersRecycle;

  private FragmentOrdersBinding(@NonNull LinearLayout rootView,
      @NonNull RecyclerView archivedOrdersRecycle, @NonNull Button btnArchivedOrders,
      @NonNull Button btnCurrentOrders, @NonNull RecyclerView currentOrdersRecycle) {
    this.rootView = rootView;
    this.archivedOrdersRecycle = archivedOrdersRecycle;
    this.btnArchivedOrders = btnArchivedOrders;
    this.btnCurrentOrders = btnCurrentOrders;
    this.currentOrdersRecycle = currentOrdersRecycle;
  }

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

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

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

  @NonNull
  public static FragmentOrdersBinding 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.archived_orders_recycle;
      RecyclerView archivedOrdersRecycle = rootView.findViewById(id);
      if (archivedOrdersRecycle == null) {
        break missingId;
      }

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

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

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

      return new FragmentOrdersBinding((LinearLayout) rootView, archivedOrdersRecycle,
          btnArchivedOrders, btnCurrentOrders, currentOrdersRecycle);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
