// 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.checkbox.MaterialCheckBox;
import com.google.android.material.textfield.TextInputEditText;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final MaterialCheckBox checkboxRememberMe;

  @NonNull
  public final TextInputEditText emailEditText;

  @NonNull
  public final TextView forgotPasswordLink;

  @NonNull
  public final MaterialButton loginButton;

  @NonNull
  public final TextInputEditText passwordEditText;

  @NonNull
  public final TextView registerLink;

  private ActivityLoginBinding(@NonNull ScrollView rootView,
      @NonNull MaterialCheckBox checkboxRememberMe, @NonNull TextInputEditText emailEditText,
      @NonNull TextView forgotPasswordLink, @NonNull MaterialButton loginButton,
      @NonNull TextInputEditText passwordEditText, @NonNull TextView registerLink) {
    this.rootView = rootView;
    this.checkboxRememberMe = checkboxRememberMe;
    this.emailEditText = emailEditText;
    this.forgotPasswordLink = forgotPasswordLink;
    this.loginButton = loginButton;
    this.passwordEditText = passwordEditText;
    this.registerLink = registerLink;
  }

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

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

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

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

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

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

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

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

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

      return new ActivityLoginBinding((ScrollView) rootView, checkboxRememberMe, emailEditText,
          forgotPasswordLink, loginButton, passwordEditText, registerLink);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
