// 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.CheckBox;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.ScrollView;
import android.widget.Spinner;
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 ActivityAddLeaveBinding implements ViewBinding {
  @NonNull
  private final ScrollView rootView;

  @NonNull
  public final ImageView btnBack;

  @NonNull
  public final Button btnCancel;

  @NonNull
  public final Button btnSubmit;

  @NonNull
  public final CheckBox chkHalfDay;

  @NonNull
  public final EditText etReason;

  @NonNull
  public final LinearLayout layoutFromDate;

  @NonNull
  public final LinearLayout layoutPermissionDate;

  @NonNull
  public final LinearLayout layoutToDate;

  @NonNull
  public final ProgressBar progressBar;

  @NonNull
  public final Spinner spinnerHalfDayType;

  @NonNull
  public final Spinner spinnerLeaveType;

  @NonNull
  public final TextView txtFromDate;

  @NonNull
  public final TextView txtHalfDayTypeLabel;

  @NonNull
  public final TextView txtPermissionDate;

  @NonNull
  public final TextView txtPermissionDateLabel;

  @NonNull
  public final TextView txtToDate;

  private ActivityAddLeaveBinding(@NonNull ScrollView rootView, @NonNull ImageView btnBack,
      @NonNull Button btnCancel, @NonNull Button btnSubmit, @NonNull CheckBox chkHalfDay,
      @NonNull EditText etReason, @NonNull LinearLayout layoutFromDate,
      @NonNull LinearLayout layoutPermissionDate, @NonNull LinearLayout layoutToDate,
      @NonNull ProgressBar progressBar, @NonNull Spinner spinnerHalfDayType,
      @NonNull Spinner spinnerLeaveType, @NonNull TextView txtFromDate,
      @NonNull TextView txtHalfDayTypeLabel, @NonNull TextView txtPermissionDate,
      @NonNull TextView txtPermissionDateLabel, @NonNull TextView txtToDate) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.btnCancel = btnCancel;
    this.btnSubmit = btnSubmit;
    this.chkHalfDay = chkHalfDay;
    this.etReason = etReason;
    this.layoutFromDate = layoutFromDate;
    this.layoutPermissionDate = layoutPermissionDate;
    this.layoutToDate = layoutToDate;
    this.progressBar = progressBar;
    this.spinnerHalfDayType = spinnerHalfDayType;
    this.spinnerLeaveType = spinnerLeaveType;
    this.txtFromDate = txtFromDate;
    this.txtHalfDayTypeLabel = txtHalfDayTypeLabel;
    this.txtPermissionDate = txtPermissionDate;
    this.txtPermissionDateLabel = txtPermissionDateLabel;
    this.txtToDate = txtToDate;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      return new ActivityAddLeaveBinding((ScrollView) rootView, btnBack, btnCancel, btnSubmit,
          chkHalfDay, etReason, layoutFromDate, layoutPermissionDate, layoutToDate, progressBar,
          spinnerHalfDayType, spinnerLeaveType, txtFromDate, txtHalfDayTypeLabel, txtPermissionDate,
          txtPermissionDateLabel, txtToDate);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
