// 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.Button;
import android.widget.DatePicker;
import android.widget.LinearLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.cuida.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final Button btnConfirmAppointment;

  @NonNull
  public final DatePicker datePicker;

  @NonNull
  public final RecyclerView recyclerTimeSlots;

  private FragmentScheduleAppointmentBinding(@NonNull LinearLayout rootView,
      @NonNull Button btnConfirmAppointment, @NonNull DatePicker datePicker,
      @NonNull RecyclerView recyclerTimeSlots) {
    this.rootView = rootView;
    this.btnConfirmAppointment = btnConfirmAppointment;
    this.datePicker = datePicker;
    this.recyclerTimeSlots = recyclerTimeSlots;
  }

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

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

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

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

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

      id = R.id.recycler_time_slots;
      RecyclerView recyclerTimeSlots = ViewBindings.findChildViewById(rootView, id);
      if (recyclerTimeSlots == null) {
        break missingId;
      }

      return new FragmentScheduleAppointmentBinding((LinearLayout) rootView, btnConfirmAppointment,
          datePicker, recyclerTimeSlots);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
