// 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.RelativeLayout;
import android.widget.TextClock;
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.MyCalendar;
import com.tomastc.smartwatchclient.R;
import com.tomastc.smartwatchclient.lib.GestureRelativeLayout;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final GestureRelativeLayout mainView;

  @NonNull
  public final RelativeLayout statusBar;

  @NonNull
  public final TextView txtBatteryPct;

  @NonNull
  public final TextView txtBluetoothStatus;

  @NonNull
  public final TextClock txtClock;

  @NonNull
  public final MyCalendar txtDate;

  @NonNull
  public final TextView txtDeviceId;

  @NonNull
  public final TextView txtMainStatus;

  @NonNull
  public final TextView txtMainTitle;

  @NonNull
  public final TextView txtWebsocketStatus;

  @NonNull
  public final TextView txtWifiStatus;

  private ActivityMainBinding(@NonNull BoxInsetLayout rootView,
      @NonNull GestureRelativeLayout mainView, @NonNull RelativeLayout statusBar,
      @NonNull TextView txtBatteryPct, @NonNull TextView txtBluetoothStatus,
      @NonNull TextClock txtClock, @NonNull MyCalendar txtDate, @NonNull TextView txtDeviceId,
      @NonNull TextView txtMainStatus, @NonNull TextView txtMainTitle,
      @NonNull TextView txtWebsocketStatus, @NonNull TextView txtWifiStatus) {
    this.rootView = rootView;
    this.mainView = mainView;
    this.statusBar = statusBar;
    this.txtBatteryPct = txtBatteryPct;
    this.txtBluetoothStatus = txtBluetoothStatus;
    this.txtClock = txtClock;
    this.txtDate = txtDate;
    this.txtDeviceId = txtDeviceId;
    this.txtMainStatus = txtMainStatus;
    this.txtMainTitle = txtMainTitle;
    this.txtWebsocketStatus = txtWebsocketStatus;
    this.txtWifiStatus = txtWifiStatus;
  }

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

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

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

  @NonNull
  public static ActivityMainBinding 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.main_view;
      GestureRelativeLayout mainView = ViewBindings.findChildViewById(rootView, id);
      if (mainView == 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_clock;
      TextClock txtClock = ViewBindings.findChildViewById(rootView, id);
      if (txtClock == null) {
        break missingId;
      }

      id = R.id.txt_date;
      MyCalendar txtDate = ViewBindings.findChildViewById(rootView, id);
      if (txtDate == null) {
        break missingId;
      }

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

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

      id = R.id.txt_main_title;
      TextView txtMainTitle = ViewBindings.findChildViewById(rootView, id);
      if (txtMainTitle == 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 ActivityMainBinding((BoxInsetLayout) rootView, mainView, statusBar, txtBatteryPct,
          txtBluetoothStatus, txtClock, txtDate, txtDeviceId, txtMainStatus, txtMainTitle,
          txtWebsocketStatus, txtWifiStatus);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
