// Generated by view binder compiler. Do not edit!
package de.duffy.screencast.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.google.android.material.button.MaterialButton;
import de.duffy.screencast.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityDeviceBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final MaterialButton buttonDisconnect;

  @NonNull
  public final MaterialButton buttonSearch;

  @NonNull
  public final MaterialButton buttonSystemSettings;

  @NonNull
  public final LinearLayout deviceList;

  @NonNull
  public final ScrollView scrollLog;

  @NonNull
  public final TextView textEmpty;

  @NonNull
  public final TextView textLog;

  private ActivityDeviceBinding(@NonNull LinearLayout rootView,
      @NonNull MaterialButton buttonDisconnect, @NonNull MaterialButton buttonSearch,
      @NonNull MaterialButton buttonSystemSettings, @NonNull LinearLayout deviceList,
      @NonNull ScrollView scrollLog, @NonNull TextView textEmpty, @NonNull TextView textLog) {
    this.rootView = rootView;
    this.buttonDisconnect = buttonDisconnect;
    this.buttonSearch = buttonSearch;
    this.buttonSystemSettings = buttonSystemSettings;
    this.deviceList = deviceList;
    this.scrollLog = scrollLog;
    this.textEmpty = textEmpty;
    this.textLog = textLog;
  }

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

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

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

  @NonNull
  public static ActivityDeviceBinding 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_disconnect;
      MaterialButton buttonDisconnect = ViewBindings.findChildViewById(rootView, id);
      if (buttonDisconnect == null) {
        break missingId;
      }

      id = R.id.button_search;
      MaterialButton buttonSearch = ViewBindings.findChildViewById(rootView, id);
      if (buttonSearch == null) {
        break missingId;
      }

      id = R.id.button_system_settings;
      MaterialButton buttonSystemSettings = ViewBindings.findChildViewById(rootView, id);
      if (buttonSystemSettings == null) {
        break missingId;
      }

      id = R.id.device_list;
      LinearLayout deviceList = ViewBindings.findChildViewById(rootView, id);
      if (deviceList == null) {
        break missingId;
      }

      id = R.id.scroll_log;
      ScrollView scrollLog = ViewBindings.findChildViewById(rootView, id);
      if (scrollLog == null) {
        break missingId;
      }

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

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

      return new ActivityDeviceBinding((LinearLayout) rootView, buttonDisconnect, buttonSearch,
          buttonSystemSettings, deviceList, scrollLog, textEmpty, textLog);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
