// Generated by view binder compiler. Do not edit!
package com.mtc.goldenVendor.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import com.mtc.goldenVendor.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class NotificationItemBinding implements ViewBinding {
  @NonNull
  private final RelativeLayout rootView;

  @NonNull
  public final ImageView imgStatus;

  @NonNull
  public final LinearLayout lin;

  @NonNull
  public final RelativeLayout mainItem;

  @NonNull
  public final TextView tvTime;

  @NonNull
  public final TextView tvTitle;

  private NotificationItemBinding(@NonNull RelativeLayout rootView, @NonNull ImageView imgStatus,
      @NonNull LinearLayout lin, @NonNull RelativeLayout mainItem, @NonNull TextView tvTime,
      @NonNull TextView tvTitle) {
    this.rootView = rootView;
    this.imgStatus = imgStatus;
    this.lin = lin;
    this.mainItem = mainItem;
    this.tvTime = tvTime;
    this.tvTitle = tvTitle;
  }

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

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

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

  @NonNull
  public static NotificationItemBinding 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.img_status;
      ImageView imgStatus = rootView.findViewById(id);
      if (imgStatus == null) {
        break missingId;
      }

      id = R.id.lin;
      LinearLayout lin = rootView.findViewById(id);
      if (lin == null) {
        break missingId;
      }

      RelativeLayout mainItem = (RelativeLayout) rootView;

      id = R.id.tv_time;
      TextView tvTime = rootView.findViewById(id);
      if (tvTime == null) {
        break missingId;
      }

      id = R.id.tv_title;
      TextView tvTitle = rootView.findViewById(id);
      if (tvTitle == null) {
        break missingId;
      }

      return new NotificationItemBinding((RelativeLayout) rootView, imgStatus, lin, mainItem,
          tvTime, tvTitle);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
