// Generated by view binder compiler. Do not edit!
package com.howon.lifepass.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.howon.lifepass.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final ImageView imageViewIcon;

  @NonNull
  public final TextView textViewAuthor;

  @NonNull
  public final TextView textViewDate;

  @NonNull
  public final TextView textViewDescription;

  @NonNull
  public final TextView textViewTitle;

  private ItemNoticeBinding(@NonNull LinearLayout rootView, @NonNull ImageView imageViewIcon,
      @NonNull TextView textViewAuthor, @NonNull TextView textViewDate,
      @NonNull TextView textViewDescription, @NonNull TextView textViewTitle) {
    this.rootView = rootView;
    this.imageViewIcon = imageViewIcon;
    this.textViewAuthor = textViewAuthor;
    this.textViewDate = textViewDate;
    this.textViewDescription = textViewDescription;
    this.textViewTitle = textViewTitle;
  }

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

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

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

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

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

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

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

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

      return new ItemNoticeBinding((LinearLayout) rootView, imageViewIcon, textViewAuthor,
          textViewDate, textViewDescription, textViewTitle);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
