// 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.LinearLayout;
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 ItemPayslipBinding implements ViewBinding {
  @NonNull
  private final CardView rootView;

  @NonNull
  public final LinearLayout layoutDeductions;

  @NonNull
  public final LinearLayout layoutEarnings;

  @NonNull
  public final TextView tvEmpInfo;

  @NonNull
  public final TextView tvEmpName;

  @NonNull
  public final TextView tvNetPay;

  private ItemPayslipBinding(@NonNull CardView rootView, @NonNull LinearLayout layoutDeductions,
      @NonNull LinearLayout layoutEarnings, @NonNull TextView tvEmpInfo,
      @NonNull TextView tvEmpName, @NonNull TextView tvNetPay) {
    this.rootView = rootView;
    this.layoutDeductions = layoutDeductions;
    this.layoutEarnings = layoutEarnings;
    this.tvEmpInfo = tvEmpInfo;
    this.tvEmpName = tvEmpName;
    this.tvNetPay = tvNetPay;
  }

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

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

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

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

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

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

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

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

      return new ItemPayslipBinding((CardView) rootView, layoutDeductions, layoutEarnings,
          tvEmpInfo, tvEmpName, tvNetPay);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
