// 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 FragmentAccelerometerBinding implements ViewBinding {
  @NonNull
  private final NestedScrollView rootView;

  @NonNull
  public final Button buttonToCamera;

  @NonNull
  public final Button buttonToCameraqr;

  @NonNull
  public final Button buttonToGyroscope;

  @NonNull
  public final TextView textViewX;

  @NonNull
  public final TextView textViewY;

  @NonNull
  public final TextView textViewZ;

  private FragmentAccelerometerBinding(@NonNull NestedScrollView rootView,
      @NonNull Button buttonToCamera, @NonNull Button buttonToCameraqr,
      @NonNull Button buttonToGyroscope, @NonNull TextView textViewX, @NonNull TextView textViewY,
      @NonNull TextView textViewZ) {
    this.rootView = rootView;
    this.buttonToCamera = buttonToCamera;
    this.buttonToCameraqr = buttonToCameraqr;
    this.buttonToGyroscope = buttonToGyroscope;
    this.textViewX = textViewX;
    this.textViewY = textViewY;
    this.textViewZ = textViewZ;
  }

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

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

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

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

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

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

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

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

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

      return new FragmentAccelerometerBinding((NestedScrollView) rootView, buttonToCamera,
          buttonToCameraqr, buttonToGyroscope, textViewX, textViewY, textViewZ);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
