areContentsTheSame

open override fun areContentsTheSame(oldItem: ITEM & Any, newItem: ITEM & Any): Boolean

Checks if two items have the same content.
Called only when areItemsTheSame returns true.

두 아이템의 내용이 같은지 확인합니다.
areItemsTheSame이 true를 반환할 때만 호출됩니다.

Return

True if the items have the same content, false otherwise.

내용이 같으면 true, 아니면 false.

Parameters

oldItem

The item in the old list.

이전 리스트의 아이템.

newItem

The item in the new list.

새 리스트의 아이템.