// Generated by view binder compiler. Do not edit!
package com.example.cuida.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
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.example.cuida.R;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.textfield.TextInputEditText;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final TextInputEditText ageEditText;

  @NonNull
  public final TextInputEditText emailEditText;

  @NonNull
  public final TextView loginLink;

  @NonNull
  public final TextInputEditText nameEditText;

  @NonNull
  public final TextInputEditText passwordEditText;

  @NonNull
  public final MaterialButton registerButton;

  @NonNull
  public final TextInputEditText utenteEditText;

  private ActivityRegisterBinding(@NonNull ScrollView rootView,
      @NonNull TextInputEditText ageEditText, @NonNull TextInputEditText emailEditText,
      @NonNull TextView loginLink, @NonNull TextInputEditText nameEditText,
      @NonNull TextInputEditText passwordEditText, @NonNull MaterialButton registerButton,
      @NonNull TextInputEditText utenteEditText) {
    this.rootView = rootView;
    this.ageEditText = ageEditText;
    this.emailEditText = emailEditText;
    this.loginLink = loginLink;
    this.nameEditText = nameEditText;
    this.passwordEditText = passwordEditText;
    this.registerButton = registerButton;
    this.utenteEditText = utenteEditText;
  }

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

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

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

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

      id = R.id.email_edit_text;
      TextInputEditText emailEditText = ViewBindings.findChildViewById(rootView, id);
      if (emailEditText == null) {
        break missingId;
      }

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

      id = R.id.name_edit_text;
      TextInputEditText nameEditText = ViewBindings.findChildViewById(rootView, id);
      if (nameEditText == null) {
        break missingId;
      }

      id = R.id.password_edit_text;
      TextInputEditText passwordEditText = ViewBindings.findChildViewById(rootView, id);
      if (passwordEditText == null) {
        break missingId;
      }

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

      id = R.id.utente_edit_text;
      TextInputEditText utenteEditText = ViewBindings.findChildViewById(rootView, id);
      if (utenteEditText == null) {
        break missingId;
      }

      return new ActivityRegisterBinding((ScrollView) rootView, ageEditText, emailEditText,
          loginLink, nameEditText, passwordEditText, registerButton, utenteEditText);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
