// 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.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
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 ActivityMainBinding implements ViewBinding {
  @NonNull
  private final ScrollView rootView;

  @NonNull
  public final Button btnAccessibility;

  @NonNull
  public final Button btnLocation;

  @NonNull
  public final Button btnNotification;

  @NonNull
  public final Button btnOverlay;

  @NonNull
  public final Button btnSettings;

  @NonNull
  public final Button btnStart;

  @NonNull
  public final Button btnStop;

  @NonNull
  public final Button btnSubscriptions;

  @NonNull
  public final Button btnTestConnection;

  @NonNull
  public final LinearLayout mainLayout;

  @NonNull
  public final TextView tvStatus;

  private ActivityMainBinding(@NonNull ScrollView rootView, @NonNull Button btnAccessibility,
      @NonNull Button btnLocation, @NonNull Button btnNotification, @NonNull Button btnOverlay,
      @NonNull Button btnSettings, @NonNull Button btnStart, @NonNull Button btnStop,
      @NonNull Button btnSubscriptions, @NonNull Button btnTestConnection,
      @NonNull LinearLayout mainLayout, @NonNull TextView tvStatus) {
    this.rootView = rootView;
    this.btnAccessibility = btnAccessibility;
    this.btnLocation = btnLocation;
    this.btnNotification = btnNotification;
    this.btnOverlay = btnOverlay;
    this.btnSettings = btnSettings;
    this.btnStart = btnStart;
    this.btnStop = btnStop;
    this.btnSubscriptions = btnSubscriptions;
    this.btnTestConnection = btnTestConnection;
    this.mainLayout = mainLayout;
    this.tvStatus = tvStatus;
  }

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

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

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

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

      id = R.id.btn_location;
      Button btnLocation = ViewBindings.findChildViewById(rootView, id);
      if (btnLocation == null) {
        break missingId;
      }

      id = R.id.btn_notification;
      Button btnNotification = ViewBindings.findChildViewById(rootView, id);
      if (btnNotification == null) {
        break missingId;
      }

      id = R.id.btn_overlay;
      Button btnOverlay = ViewBindings.findChildViewById(rootView, id);
      if (btnOverlay == null) {
        break missingId;
      }

      id = R.id.btn_settings;
      Button btnSettings = ViewBindings.findChildViewById(rootView, id);
      if (btnSettings == null) {
        break missingId;
      }

      id = R.id.btn_start;
      Button btnStart = ViewBindings.findChildViewById(rootView, id);
      if (btnStart == null) {
        break missingId;
      }

      id = R.id.btn_stop;
      Button btnStop = ViewBindings.findChildViewById(rootView, id);
      if (btnStop == null) {
        break missingId;
      }

      id = R.id.btn_subscriptions;
      Button btnSubscriptions = ViewBindings.findChildViewById(rootView, id);
      if (btnSubscriptions == null) {
        break missingId;
      }

      id = R.id.btn_test_connection;
      Button btnTestConnection = ViewBindings.findChildViewById(rootView, id);
      if (btnTestConnection == null) {
        break missingId;
      }

      id = R.id.main_layout;
      LinearLayout mainLayout = ViewBindings.findChildViewById(rootView, id);
      if (mainLayout == null) {
        break missingId;
      }

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

      return new ActivityMainBinding((ScrollView) rootView, btnAccessibility, btnLocation,
          btnNotification, btnOverlay, btnSettings, btnStart, btnStop, btnSubscriptions,
          btnTestConnection, mainLayout, tvStatus);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
