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

  @NonNull
  public final ImageView btnBack;

  @NonNull
  public final TextView btnCancel;

  @NonNull
  public final TextView btnSubmit;

  @NonNull
  public final EditText etCustomer;

  @NonNull
  public final EditText etDuration;

  @NonNull
  public final EditText etExpense;

  @NonNull
  public final EditText etPlace;

  @NonNull
  public final EditText etPurpose;

  @NonNull
  public final Spinner spBillable;

  @NonNull
  public final TextView tvArrivalDate;

  @NonNull
  public final TextView tvCustomerName;

  @NonNull
  public final TextView tvDepartureDate;

  @NonNull
  public final TextView tvDuration;

  @NonNull
  public final EditText tvEmpId;

  @NonNull
  public final TextView tvExpense;

  @NonNull
  public final TextView tvPlaceofVisit;

  @NonNull
  public final TextView tvPurpose;

  private ActivityAddTravelBinding(@NonNull LinearLayout rootView, @NonNull ImageView btnBack,
      @NonNull TextView btnCancel, @NonNull TextView btnSubmit, @NonNull EditText etCustomer,
      @NonNull EditText etDuration, @NonNull EditText etExpense, @NonNull EditText etPlace,
      @NonNull EditText etPurpose, @NonNull Spinner spBillable, @NonNull TextView tvArrivalDate,
      @NonNull TextView tvCustomerName, @NonNull TextView tvDepartureDate,
      @NonNull TextView tvDuration, @NonNull EditText tvEmpId, @NonNull TextView tvExpense,
      @NonNull TextView tvPlaceofVisit, @NonNull TextView tvPurpose) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.btnCancel = btnCancel;
    this.btnSubmit = btnSubmit;
    this.etCustomer = etCustomer;
    this.etDuration = etDuration;
    this.etExpense = etExpense;
    this.etPlace = etPlace;
    this.etPurpose = etPurpose;
    this.spBillable = spBillable;
    this.tvArrivalDate = tvArrivalDate;
    this.tvCustomerName = tvCustomerName;
    this.tvDepartureDate = tvDepartureDate;
    this.tvDuration = tvDuration;
    this.tvEmpId = tvEmpId;
    this.tvExpense = tvExpense;
    this.tvPlaceofVisit = tvPlaceofVisit;
    this.tvPurpose = tvPurpose;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      return new ActivityAddTravelBinding((LinearLayout) rootView, btnBack, btnCancel, btnSubmit,
          etCustomer, etDuration, etExpense, etPlace, etPurpose, spBillable, tvArrivalDate,
          tvCustomerName, tvDepartureDate, tvDuration, tvEmpId, tvExpense, tvPlaceofVisit,
          tvPurpose);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
