// 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 androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import com.example.cuida.R;
import com.google.android.material.button.MaterialButton;
import java.lang.NullPointerException;
import java.lang.Override;

public final class ItemTimeSlotBinding implements ViewBinding {
  @NonNull
  private final MaterialButton rootView;

  @NonNull
  public final MaterialButton btnTimeSlot;

  private ItemTimeSlotBinding(@NonNull MaterialButton rootView,
      @NonNull MaterialButton btnTimeSlot) {
    this.rootView = rootView;
    this.btnTimeSlot = btnTimeSlot;
  }

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

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

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

  @NonNull
  public static ItemTimeSlotBinding bind(@NonNull View rootView) {
    if (rootView == null) {
      throw new NullPointerException("rootView");
    }

    MaterialButton btnTimeSlot = (MaterialButton) rootView;

    return new ItemTimeSlotBinding((MaterialButton) rootView, btnTimeSlot);
  }
}
