// Generated by view binder compiler. Do not edit!
package com.ElyStudio.leGaou.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.ElyStudio.leGaou.R;
import com.google.android.material.card.MaterialCardView;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final MaterialCardView changeAvatarCard;

  @NonNull
  public final ImageView imageView16;

  @NonNull
  public final ConstraintLayout updateBottomSheetLayout;

  @NonNull
  public final MaterialCardView updateNameCard;

  private UpdateBottomsheetBinding(@NonNull ConstraintLayout rootView,
      @NonNull MaterialCardView changeAvatarCard, @NonNull ImageView imageView16,
      @NonNull ConstraintLayout updateBottomSheetLayout, @NonNull MaterialCardView updateNameCard) {
    this.rootView = rootView;
    this.changeAvatarCard = changeAvatarCard;
    this.imageView16 = imageView16;
    this.updateBottomSheetLayout = updateBottomSheetLayout;
    this.updateNameCard = updateNameCard;
  }

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

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

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

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

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

      ConstraintLayout updateBottomSheetLayout = (ConstraintLayout) rootView;

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

      return new UpdateBottomsheetBinding((ConstraintLayout) rootView, changeAvatarCard,
          imageView16, updateBottomSheetLayout, updateNameCard);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
