// Generated by view binder compiler. Do not edit!
package com.b2lmobitech.fieldcloudhrms.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.cardview.widget.CardView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.b2lmobitech.fieldcloudhrms.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ItemLeaveSummaryBinding implements ViewBinding {
  @NonNull
  private final CardView rootView;

  @NonNull
  public final Button btnCancel;

  @NonNull
  public final TextView txtDays;

  @NonNull
  public final TextView txtLeaveDate;

  @NonNull
  public final TextView txtLeaveType;

  @NonNull
  public final TextView txtStatus;

  @NonNull
  public final TextView txtUpcoming;

  private ItemLeaveSummaryBinding(@NonNull CardView rootView, @NonNull Button btnCancel,
      @NonNull TextView txtDays, @NonNull TextView txtLeaveDate, @NonNull TextView txtLeaveType,
      @NonNull TextView txtStatus, @NonNull TextView txtUpcoming) {
    this.rootView = rootView;
    this.btnCancel = btnCancel;
    this.txtDays = txtDays;
    this.txtLeaveDate = txtLeaveDate;
    this.txtLeaveType = txtLeaveType;
    this.txtStatus = txtStatus;
    this.txtUpcoming = txtUpcoming;
  }

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

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

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

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

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

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

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

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

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

      return new ItemLeaveSummaryBinding((CardView) rootView, btnCancel, txtDays, txtLeaveDate,
          txtLeaveType, txtStatus, txtUpcoming);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
