// 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.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
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 FragmentLeaveSummaryBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final ImageView btnNextMonth;

  @NonNull
  public final ImageView btnPrevMonth;

  @NonNull
  public final RecyclerView recyclerLeaves;

  @NonNull
  public final TextView txtMonth;

  @NonNull
  public final TextView txtNoData;

  private FragmentLeaveSummaryBinding(@NonNull LinearLayout rootView,
      @NonNull ImageView btnNextMonth, @NonNull ImageView btnPrevMonth,
      @NonNull RecyclerView recyclerLeaves, @NonNull TextView txtMonth,
      @NonNull TextView txtNoData) {
    this.rootView = rootView;
    this.btnNextMonth = btnNextMonth;
    this.btnPrevMonth = btnPrevMonth;
    this.recyclerLeaves = recyclerLeaves;
    this.txtMonth = txtMonth;
    this.txtNoData = txtNoData;
  }

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

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

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

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

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

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

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

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

      return new FragmentLeaveSummaryBinding((LinearLayout) rootView, btnNextMonth, btnPrevMonth,
          recyclerLeaves, txtMonth, txtNoData);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
