// Generated by view binder compiler. Do not edit!
package com.jordanbot.autoride.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.Switch;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.jordanbot.autoride.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class OverlayExpandedBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final Button btnSaveClose;

  @NonNull
  public final EditText etMaxMinutes;

  @NonNull
  public final EditText etMinPrice;

  @NonNull
  public final Switch switchBotStatus;

  private OverlayExpandedBinding(@NonNull LinearLayout rootView, @NonNull Button btnSaveClose,
      @NonNull EditText etMaxMinutes, @NonNull EditText etMinPrice,
      @NonNull Switch switchBotStatus) {
    this.rootView = rootView;
    this.btnSaveClose = btnSaveClose;
    this.etMaxMinutes = etMaxMinutes;
    this.etMinPrice = etMinPrice;
    this.switchBotStatus = switchBotStatus;
  }

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

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

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

  @NonNull
  public static OverlayExpandedBinding 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_save_close;
      Button btnSaveClose = ViewBindings.findChildViewById(rootView, id);
      if (btnSaveClose == null) {
        break missingId;
      }

      id = R.id.et_max_minutes;
      EditText etMaxMinutes = ViewBindings.findChildViewById(rootView, id);
      if (etMaxMinutes == null) {
        break missingId;
      }

      id = R.id.et_min_price;
      EditText etMinPrice = ViewBindings.findChildViewById(rootView, id);
      if (etMinPrice == null) {
        break missingId;
      }

      id = R.id.switch_bot_status;
      Switch switchBotStatus = ViewBindings.findChildViewById(rootView, id);
      if (switchBotStatus == null) {
        break missingId;
      }

      return new OverlayExpandedBinding((LinearLayout) rootView, btnSaveClose, etMaxMinutes,
          etMinPrice, switchBotStatus);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
