// Generated by view binder compiler. Do not edit!
package com.example.distribuidora.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
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.example.distribuidora.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityLocalizaBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final EditText compraTxt;

  @NonNull
  public final TextView distancia;

  @NonNull
  public final Button dom;

  @NonNull
  public final Button env;

  @NonNull
  public final TextView totalCost;

  @NonNull
  public final TextView trasladoCost;

  private ActivityLocalizaBinding(@NonNull LinearLayout rootView, @NonNull EditText compraTxt,
      @NonNull TextView distancia, @NonNull Button dom, @NonNull Button env,
      @NonNull TextView totalCost, @NonNull TextView trasladoCost) {
    this.rootView = rootView;
    this.compraTxt = compraTxt;
    this.distancia = distancia;
    this.dom = dom;
    this.env = env;
    this.totalCost = totalCost;
    this.trasladoCost = trasladoCost;
  }

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

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

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

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

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

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

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

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

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

      return new ActivityLocalizaBinding((LinearLayout) rootView, compraTxt, distancia, dom, env,
          totalCost, trasladoCost);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
