// 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 com.erwan.revwatch.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final ImageView appIcon;

  @NonNull
  public final TextView appName;

  @NonNull
  public final ImageView editBadge;

  @NonNull
  public final View editOverlay;

  private ItemAppEntryBinding(@NonNull FrameLayout rootView, @NonNull ImageView appIcon,
      @NonNull TextView appName, @NonNull ImageView editBadge, @NonNull View editOverlay) {
    this.rootView = rootView;
    this.appIcon = appIcon;
    this.appName = appName;
    this.editBadge = editBadge;
    this.editOverlay = editOverlay;
  }

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

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

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

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

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

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

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

      return new ItemAppEntryBinding((FrameLayout) rootView, appIcon, appName, editBadge,
          editOverlay);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
