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

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.widget.NestedScrollView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.epl498_labs.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentLocationBinding implements ViewBinding {
  @NonNull
  private final NestedScrollView rootView;

  @NonNull
  public final Button buttonGeofence;

  @NonNull
  public final Button buttonUpdate;

  @NonNull
  public final TextView textviewLatitude;

  @NonNull
  public final TextView textviewLongitude;

  private FragmentLocationBinding(@NonNull NestedScrollView rootView,
      @NonNull Button buttonGeofence, @NonNull Button buttonUpdate,
      @NonNull TextView textviewLatitude, @NonNull TextView textviewLongitude) {
    this.rootView = rootView;
    this.buttonGeofence = buttonGeofence;
    this.buttonUpdate = buttonUpdate;
    this.textviewLatitude = textviewLatitude;
    this.textviewLongitude = textviewLongitude;
  }

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

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

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

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

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

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

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

      return new FragmentLocationBinding((NestedScrollView) rootView, buttonGeofence, buttonUpdate,
          textviewLatitude, textviewLongitude);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
