// 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.LinearLayout;
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 java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentProfileBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final MaterialButton buttonEditProfile;

  @NonNull
  public final MaterialButton buttonLogout;

  @NonNull
  public final TextView profileAge;

  @NonNull
  public final TextView profileEmail;

  @NonNull
  public final TextView profileName;

  @NonNull
  public final TextView profileUtente;

  private FragmentProfileBinding(@NonNull LinearLayout rootView,
      @NonNull MaterialButton buttonEditProfile, @NonNull MaterialButton buttonLogout,
      @NonNull TextView profileAge, @NonNull TextView profileEmail, @NonNull TextView profileName,
      @NonNull TextView profileUtente) {
    this.rootView = rootView;
    this.buttonEditProfile = buttonEditProfile;
    this.buttonLogout = buttonLogout;
    this.profileAge = profileAge;
    this.profileEmail = profileEmail;
    this.profileName = profileName;
    this.profileUtente = profileUtente;
  }

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

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

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

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

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

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

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

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

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

      return new FragmentProfileBinding((LinearLayout) rootView, buttonEditProfile, buttonLogout,
          profileAge, profileEmail, profileName, profileUtente);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
