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

public final class ItemAppointmentBinding implements ViewBinding {
  @NonNull
  private final MaterialCardView rootView;

  @NonNull
  public final TextView textDate;

  @NonNull
  public final TextView textReason;

  @NonNull
  public final TextView textTime;

  @NonNull
  public final TextView textType;

  private ItemAppointmentBinding(@NonNull MaterialCardView rootView, @NonNull TextView textDate,
      @NonNull TextView textReason, @NonNull TextView textTime, @NonNull TextView textType) {
    this.rootView = rootView;
    this.textDate = textDate;
    this.textReason = textReason;
    this.textTime = textTime;
    this.textType = textType;
  }

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

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

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

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

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

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

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

      return new ItemAppointmentBinding((MaterialCardView) rootView, textDate, textReason, textTime,
          textType);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
