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

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.orderly.R;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.textfield.TextInputEditText;
import com.google.android.material.textfield.TextInputLayout;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentLoginBinding implements ViewBinding {
  @NonNull
  private final ConstraintLayout rootView;

  @NonNull
  public final ImageButton btnBack;

  @NonNull
  public final MaterialButton btnLogin;

  @NonNull
  public final TextInputEditText etPassword;

  @NonNull
  public final TextInputEditText etUsername;

  @NonNull
  public final TextInputLayout tlPassword;

  @NonNull
  public final TextInputLayout tlUsername;

  @NonNull
  public final TextView tvLoginSubtitle;

  @NonNull
  public final TextView tvLoginTitle;

  @NonNull
  public final TextView tvRegisterLink;

  @NonNull
  public final View viewHeader;

  private FragmentLoginBinding(@NonNull ConstraintLayout rootView, @NonNull ImageButton btnBack,
      @NonNull MaterialButton btnLogin, @NonNull TextInputEditText etPassword,
      @NonNull TextInputEditText etUsername, @NonNull TextInputLayout tlPassword,
      @NonNull TextInputLayout tlUsername, @NonNull TextView tvLoginSubtitle,
      @NonNull TextView tvLoginTitle, @NonNull TextView tvRegisterLink, @NonNull View viewHeader) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.btnLogin = btnLogin;
    this.etPassword = etPassword;
    this.etUsername = etUsername;
    this.tlPassword = tlPassword;
    this.tlUsername = tlUsername;
    this.tvLoginSubtitle = tvLoginSubtitle;
    this.tvLoginTitle = tvLoginTitle;
    this.tvRegisterLink = tvRegisterLink;
    this.viewHeader = viewHeader;
  }

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

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

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

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

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

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

      id = R.id.tl_password;
      TextInputLayout tlPassword = ViewBindings.findChildViewById(rootView, id);
      if (tlPassword == null) {
        break missingId;
      }

      id = R.id.tl_username;
      TextInputLayout tlUsername = ViewBindings.findChildViewById(rootView, id);
      if (tlUsername == null) {
        break missingId;
      }

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

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

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

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

      return new FragmentLoginBinding((ConstraintLayout) rootView, btnBack, btnLogin, etPassword,
          etUsername, tlPassword, tlUsername, tvLoginSubtitle, tvLoginTitle, tvRegisterLink,
          viewHeader);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
