// 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.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import androidx.viewpager2.widget.ViewPager2;
import com.erwan.revwatch.R;
import com.erwan.revwatch.ui.BrandSplashOverlay;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityDashboardBinding implements ViewBinding {
  @NonNull
  private final FrameLayout rootView;

  @NonNull
  public final BrandSplashOverlay brandSplashOverlay;

  @NonNull
  public final TextView statusText;

  @NonNull
  public final ViewPager2 verticalPager;

  @NonNull
  public final View wallpaperColor;

  @NonNull
  public final ImageView wallpaperImage;

  private ActivityDashboardBinding(@NonNull FrameLayout rootView,
      @NonNull BrandSplashOverlay brandSplashOverlay, @NonNull TextView statusText,
      @NonNull ViewPager2 verticalPager, @NonNull View wallpaperColor,
      @NonNull ImageView wallpaperImage) {
    this.rootView = rootView;
    this.brandSplashOverlay = brandSplashOverlay;
    this.statusText = statusText;
    this.verticalPager = verticalPager;
    this.wallpaperColor = wallpaperColor;
    this.wallpaperImage = wallpaperImage;
  }

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

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

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

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

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

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

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

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

      return new ActivityDashboardBinding((FrameLayout) rootView, brandSplashOverlay, statusText,
          verticalPager, wallpaperColor, wallpaperImage);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
