getChangePayload

open override fun getChangePayload(oldItem: ITEM & Any, newItem: ITEM & Any): Any?

Returns payload for partial update when items are the same but contents differ.
Called only when areItemsTheSame returns true and areContentsTheSame returns false.

아이템이 같지만 내용이 다를 때 부분 업데이트용 payload를 반환합니다.
areItemsTheSame이 true를 반환하고 areContentsTheSame이 false를 반환할 때만 호출됩니다.

Return

Payload object for partial update, null for full update.

부분 업데이트용 payload 객체, 전체 업데이트면 null.

Parameters

oldItem

The item in the old list.

이전 리스트의 아이템.

newItem

The item in the new list.

새 리스트의 아이템.