// Generated by view binder compiler. Do not edit!
package it.dadaloop.evershelf.kiosk.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.ImageButton;
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.google.android.material.button.MaterialButton;
import it.dadaloop.evershelf.kiosk.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivitySettingsBinding implements ViewBinding {
  @NonNull
  private final ScrollView rootView;

  @NonNull
  public final ImageButton btnBack;

  @NonNull
  public final MaterialButton btnRunWizard;

  @NonNull
  public final MaterialButton btnSave;

  @NonNull
  public final MaterialButton btnTestConnection;

  @NonNull
  public final TextView scaleDeviceInfo;

  @NonNull
  public final TextView scaleGatewayStatus;

  @NonNull
  public final EditText urlEdit;

  private ActivitySettingsBinding(@NonNull ScrollView rootView, @NonNull ImageButton btnBack,
      @NonNull MaterialButton btnRunWizard, @NonNull MaterialButton btnSave,
      @NonNull MaterialButton btnTestConnection, @NonNull TextView scaleDeviceInfo,
      @NonNull TextView scaleGatewayStatus, @NonNull EditText urlEdit) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.btnRunWizard = btnRunWizard;
    this.btnSave = btnSave;
    this.btnTestConnection = btnTestConnection;
    this.scaleDeviceInfo = scaleDeviceInfo;
    this.scaleGatewayStatus = scaleGatewayStatus;
    this.urlEdit = urlEdit;
  }

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

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

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

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

      id = R.id.btnRunWizard;
      MaterialButton btnRunWizard = ViewBindings.findChildViewById(rootView, id);
      if (btnRunWizard == null) {
        break missingId;
      }

      id = R.id.btnSave;
      MaterialButton btnSave = ViewBindings.findChildViewById(rootView, id);
      if (btnSave == null) {
        break missingId;
      }

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

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

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

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

      return new ActivitySettingsBinding((ScrollView) rootView, btnBack, btnRunWizard, btnSave,
          btnTestConnection, scaleDeviceInfo, scaleGatewayStatus, urlEdit);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
