// Generated by view binder compiler. Do not edit!
package com.unitech.unitechrfidsample.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import com.unitech.unitechrfidsample.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentBluetoothBinding implements ViewBinding {
  @NonNull
  private final ConstraintLayout rootView;

  @NonNull
  public final Button buttonConnect;

  @NonNull
  public final TextView editBluetoothMACAddress;

  @NonNull
  public final LinearLayout linearBluetoothMACAddress;

  @NonNull
  public final TextView textBluetoothMACAddress;

  private FragmentBluetoothBinding(@NonNull ConstraintLayout rootView,
      @NonNull Button buttonConnect, @NonNull TextView editBluetoothMACAddress,
      @NonNull LinearLayout linearBluetoothMACAddress, @NonNull TextView textBluetoothMACAddress) {
    this.rootView = rootView;
    this.buttonConnect = buttonConnect;
    this.editBluetoothMACAddress = editBluetoothMACAddress;
    this.linearBluetoothMACAddress = linearBluetoothMACAddress;
    this.textBluetoothMACAddress = textBluetoothMACAddress;
  }

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

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

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

  @NonNull
  public static FragmentBluetoothBinding 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_connect;
      Button buttonConnect = rootView.findViewById(id);
      if (buttonConnect == null) {
        break missingId;
      }

      id = R.id.edit_bluetoothMACAddress;
      TextView editBluetoothMACAddress = rootView.findViewById(id);
      if (editBluetoothMACAddress == null) {
        break missingId;
      }

      id = R.id.linear_bluetoothMACAddress;
      LinearLayout linearBluetoothMACAddress = rootView.findViewById(id);
      if (linearBluetoothMACAddress == null) {
        break missingId;
      }

      id = R.id.text_bluetoothMACAddress;
      TextView textBluetoothMACAddress = rootView.findViewById(id);
      if (textBluetoothMACAddress == null) {
        break missingId;
      }

      return new FragmentBluetoothBinding((ConstraintLayout) rootView, buttonConnect,
          editBluetoothMACAddress, linearBluetoothMACAddress, textBluetoothMACAddress);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
