Hi, what is this error about?
Suspicious equality check: equals() is not implemented in Object
override fun areContentsTheSame(oldItemPosition: Int, newItemPosition: Int) =
oldList[oldItemPosition] == newList[newItemPosition] <----------
Type of the list items is ChatItem, which is a sealed class
sealed class ChatItem
object ProgressBarItem : ChatItem()
data class ThreadHeaderItem(
val commenterUsername: String,
val commenterRealName: String?,
val commenterImageUrl: String?,
val commentedUsername: String,
val commentedRealName: String?,
val commentedTimestamp: LocalDateTime
) : ChatItem(), ThreadPart
data class AddCommentItem(val message: Message) : ChatItem(), ThreadPart
data class DateItem(val date: LocalDateTime) : ChatItem()