// Generated by view binder compiler. Do not edit!
package com.tomastc.smartwatchclient.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.RelativeLayout;
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 androidx.wear.widget.BoxInsetLayout;
import com.tomastc.smartwatchclient.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivitySettingsBinding implements ViewBinding {
  @NonNull
  private final BoxInsetLayout rootView;

  @NonNull
  public final Button btnSettingsNo;

  @NonNull
  public final Button btnSettingsYes;

  @NonNull
  public final Spinner ddlPreset;

  @NonNull
  public final RelativeLayout layoutPreset;

  @NonNull
  public final RelativeLayout statusBar;

  @NonNull
  public final TextView txtBatteryPct;

  @NonNull
  public final TextView txtBluetoothStatus;

  @NonNull
  public final TextView txtStatus;

  @NonNull
  public final TextView txtSwVersion;

  @NonNull
  public final TextView txtTitle;

  @NonNull
  public final TextView txtWebsocketStatus;

  @NonNull
  public final TextView txtWifiStatus;

  private ActivitySettingsBinding(@NonNull BoxInsetLayout rootView, @NonNull Button btnSettingsNo,
      @NonNull Button btnSettingsYes, @NonNull Spinner ddlPreset,
      @NonNull RelativeLayout layoutPreset, @NonNull RelativeLayout statusBar,
      @NonNull TextView txtBatteryPct, @NonNull TextView txtBluetoothStatus,
      @NonNull TextView txtStatus, @NonNull TextView txtSwVersion, @NonNull TextView txtTitle,
      @NonNull TextView txtWebsocketStatus, @NonNull TextView txtWifiStatus) {
    this.rootView = rootView;
    this.btnSettingsNo = btnSettingsNo;
    this.btnSettingsYes = btnSettingsYes;
    this.ddlPreset = ddlPreset;
    this.layoutPreset = layoutPreset;
    this.statusBar = statusBar;
    this.txtBatteryPct = txtBatteryPct;
    this.txtBluetoothStatus = txtBluetoothStatus;
    this.txtStatus = txtStatus;
    this.txtSwVersion = txtSwVersion;
    this.txtTitle = txtTitle;
    this.txtWebsocketStatus = txtWebsocketStatus;
    this.txtWifiStatus = txtWifiStatus;
  }

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

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

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

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

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

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

      id = R.id.layout_preset;
      RelativeLayout layoutPreset = ViewBindings.findChildViewById(rootView, id);
      if (layoutPreset == null) {
        break missingId;
      }

      id = R.id.status_bar;
      RelativeLayout statusBar = ViewBindings.findChildViewById(rootView, id);
      if (statusBar == null) {
        break missingId;
      }

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

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

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

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

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

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

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

      return new ActivitySettingsBinding((BoxInsetLayout) rootView, btnSettingsNo, btnSettingsYes,
          ddlPreset, layoutPreset, statusBar, txtBatteryPct, txtBluetoothStatus, txtStatus,
          txtSwVersion, txtTitle, txtWebsocketStatus, txtWifiStatus);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
