// 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.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.cardview.widget.CardView;
import androidx.viewbinding.ViewBinding;
import com.mtc.goldenVendor.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class OrdersItemBinding implements ViewBinding {
  @NonNull
  private final CardView rootView;

  @NonNull
  public final ImageView imgOrder;

  @NonNull
  public final LinearLayout lin;

  @NonNull
  public final LinearLayout lin2;

  @NonNull
  public final TextView sellerName;

  @NonNull
  public final TextView tvDay;

  @NonNull
  public final TextView tvNum;

  @NonNull
  public final TextView tvPrice;

  @NonNull
  public final TextView tvStatus;

  private OrdersItemBinding(@NonNull CardView rootView, @NonNull ImageView imgOrder,
      @NonNull LinearLayout lin, @NonNull LinearLayout lin2, @NonNull TextView sellerName,
      @NonNull TextView tvDay, @NonNull TextView tvNum, @NonNull TextView tvPrice,
      @NonNull TextView tvStatus) {
    this.rootView = rootView;
    this.imgOrder = imgOrder;
    this.lin = lin;
    this.lin2 = lin2;
    this.sellerName = sellerName;
    this.tvDay = tvDay;
    this.tvNum = tvNum;
    this.tvPrice = tvPrice;
    this.tvStatus = tvStatus;
  }

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

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

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

  @NonNull
  public static OrdersItemBinding 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.img_order;
      ImageView imgOrder = rootView.findViewById(id);
      if (imgOrder == null) {
        break missingId;
      }

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

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

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

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

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

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

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

      return new OrdersItemBinding((CardView) rootView, imgOrder, lin, lin2, sellerName, tvDay,
          tvNum, tvPrice, tvStatus);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
