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

  @NonNull
  public final ImageView btnBack;

  @NonNull
  public final TextView txtDays;

  @NonNull
  public final TextView txtLeaveDate;

  @NonNull
  public final TextView txtLeaveType;

  @NonNull
  public final TextView txtReason;

  @NonNull
  public final TextView txtStatus;

  private ActivityLeaveDetailsBinding(@NonNull LinearLayout rootView, @NonNull ImageView btnBack,
      @NonNull TextView txtDays, @NonNull TextView txtLeaveDate, @NonNull TextView txtLeaveType,
      @NonNull TextView txtReason, @NonNull TextView txtStatus) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.txtDays = txtDays;
    this.txtLeaveDate = txtLeaveDate;
    this.txtLeaveType = txtLeaveType;
    this.txtReason = txtReason;
    this.txtStatus = txtStatus;
  }

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

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

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

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

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

      return new ActivityLeaveDetailsBinding((LinearLayout) rootView, btnBack, txtDays,
          txtLeaveDate, txtLeaveType, txtReason, txtStatus);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
