// 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.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 OrderStepItemBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final CardView cardStatus;

  @NonNull
  public final LinearLayout linearDetails;

  @NonNull
  public final TextView tvCancelOrder;

  @NonNull
  public final TextView tvFrom;

  @NonNull
  public final TextView tvOrderAccept;

  @NonNull
  public final TextView tvOrderDetails;

  @NonNull
  public final TextView tvOrderEnd;

  @NonNull
  public final TextView tvOrderUnderway;

  @NonNull
  public final TextView tvRateOrder;

  @NonNull
  public final TextView tvStatus;

  @NonNull
  public final TextView tvTitle;

  @NonNull
  public final TextView vendorName;

  private OrderStepItemBinding(@NonNull LinearLayout rootView, @NonNull CardView cardStatus,
      @NonNull LinearLayout linearDetails, @NonNull TextView tvCancelOrder,
      @NonNull TextView tvFrom, @NonNull TextView tvOrderAccept, @NonNull TextView tvOrderDetails,
      @NonNull TextView tvOrderEnd, @NonNull TextView tvOrderUnderway,
      @NonNull TextView tvRateOrder, @NonNull TextView tvStatus, @NonNull TextView tvTitle,
      @NonNull TextView vendorName) {
    this.rootView = rootView;
    this.cardStatus = cardStatus;
    this.linearDetails = linearDetails;
    this.tvCancelOrder = tvCancelOrder;
    this.tvFrom = tvFrom;
    this.tvOrderAccept = tvOrderAccept;
    this.tvOrderDetails = tvOrderDetails;
    this.tvOrderEnd = tvOrderEnd;
    this.tvOrderUnderway = tvOrderUnderway;
    this.tvRateOrder = tvRateOrder;
    this.tvStatus = tvStatus;
    this.tvTitle = tvTitle;
    this.vendorName = vendorName;
  }

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

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

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

  @NonNull
  public static OrderStepItemBinding 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.card_status;
      CardView cardStatus = rootView.findViewById(id);
      if (cardStatus == null) {
        break missingId;
      }

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

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

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

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

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

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

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

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

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

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

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

      return new OrderStepItemBinding((LinearLayout) rootView, cardStatus, linearDetails,
          tvCancelOrder, tvFrom, tvOrderAccept, tvOrderDetails, tvOrderEnd, tvOrderUnderway,
          tvRateOrder, tvStatus, tvTitle, vendorName);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
