-
public final class AudioItemsDiffUtil extends DiffUtil.Callback
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumAudioItemsDiffUtil.PayloadKey
-
Constructor Summary
Constructors Constructor Description AudioItemsDiffUtil(Array<AudioItem> oldItems, Array<AudioItem> newItems)
-
Method Summary
Modifier and Type Method Description IntegergetOldListSize()IntegergetNewListSize()BooleanareItemsTheSame(Integer oldItemPosition, Integer newItemPosition)BooleanareContentsTheSame(Integer oldItemPosition, Integer newItemPosition)ObjectgetChangePayload(Integer oldItemPosition, Integer newItemPosition)-
-
Method Detail
-
getOldListSize
Integer getOldListSize()
-
getNewListSize
Integer getNewListSize()
-
areItemsTheSame
Boolean areItemsTheSame(Integer oldItemPosition, Integer newItemPosition)
-
areContentsTheSame
Boolean areContentsTheSame(Integer oldItemPosition, Integer newItemPosition)
-
getChangePayload
Object getChangePayload(Integer oldItemPosition, Integer newItemPosition)
-
-
-
-