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

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

  @NonNull
  public final Button btnBack;

  @NonNull
  public final LinearLayout linearStatus;

  @NonNull
  public final TextView tvDesc;

  @NonNull
  public final TextView tvStatus;

  private OrderStatusBottomSheetBinding(@NonNull NestedScrollView rootView, @NonNull Button btnBack,
      @NonNull LinearLayout linearStatus, @NonNull TextView tvDesc, @NonNull TextView tvStatus) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.linearStatus = linearStatus;
    this.tvDesc = tvDesc;
    this.tvStatus = tvStatus;
  }

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

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

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

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

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

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

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

      return new OrderStatusBottomSheetBinding((NestedScrollView) rootView, btnBack, linearStatus,
          tvDesc, tvStatus);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
