// Generated by view binder compiler. Do not edit!
package com.erwan.revwatch.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.erwan.revwatch.R;
import com.google.android.material.switchmaterial.SwitchMaterial;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final ImageView sDpiMinus;

  @NonNull
  public final ImageView sDpiPlus;

  @NonNull
  public final TextView sDpiValue;

  @NonNull
  public final SwitchMaterial sScreenChargeControl;

  @NonNull
  public final TextView sSetupButton;

  @NonNull
  public final TextView sWallpaperButton;

  private PageSettingsBinding(@NonNull LinearLayout rootView, @NonNull ImageView sDpiMinus,
      @NonNull ImageView sDpiPlus, @NonNull TextView sDpiValue,
      @NonNull SwitchMaterial sScreenChargeControl, @NonNull TextView sSetupButton,
      @NonNull TextView sWallpaperButton) {
    this.rootView = rootView;
    this.sDpiMinus = sDpiMinus;
    this.sDpiPlus = sDpiPlus;
    this.sDpiValue = sDpiValue;
    this.sScreenChargeControl = sScreenChargeControl;
    this.sSetupButton = sSetupButton;
    this.sWallpaperButton = sWallpaperButton;
  }

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

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

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

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

      id = R.id.sDpiPlus;
      ImageView sDpiPlus = ViewBindings.findChildViewById(rootView, id);
      if (sDpiPlus == null) {
        break missingId;
      }

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

      id = R.id.sScreenChargeControl;
      SwitchMaterial sScreenChargeControl = ViewBindings.findChildViewById(rootView, id);
      if (sScreenChargeControl == null) {
        break missingId;
      }

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

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

      return new PageSettingsBinding((LinearLayout) rootView, sDpiMinus, sDpiPlus, sDpiValue,
          sScreenChargeControl, sSetupButton, sWallpaperButton);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
