// 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.ImageView;
import android.widget.LinearLayout;
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.card.MaterialCardView;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final ImageButton btnBack;

  @NonNull
  public final LinearLayout btnEditProfile;

  @NonNull
  public final MaterialButton btnLogout;

  @NonNull
  public final LinearLayout btnOrderHistory;

  @NonNull
  public final MaterialCardView cvAvatar;

  @NonNull
  public final ImageView ivAvatar;

  @NonNull
  public final TextView tvProfileEmail;

  @NonNull
  public final TextView tvProfileName;

  private FragmentProfileBinding(@NonNull ConstraintLayout rootView, @NonNull ImageButton btnBack,
      @NonNull LinearLayout btnEditProfile, @NonNull MaterialButton btnLogout,
      @NonNull LinearLayout btnOrderHistory, @NonNull MaterialCardView cvAvatar,
      @NonNull ImageView ivAvatar, @NonNull TextView tvProfileEmail,
      @NonNull TextView tvProfileName) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.btnEditProfile = btnEditProfile;
    this.btnLogout = btnLogout;
    this.btnOrderHistory = btnOrderHistory;
    this.cvAvatar = cvAvatar;
    this.ivAvatar = ivAvatar;
    this.tvProfileEmail = tvProfileEmail;
    this.tvProfileName = tvProfileName;
  }

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

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

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

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

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

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

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

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

      return new FragmentProfileBinding((ConstraintLayout) rootView, btnBack, btnEditProfile,
          btnLogout, btnOrderHistory, cvAvatar, ivAvatar, tvProfileEmail, tvProfileName);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
