DiffingChangePayload

enum DiffingChangePayload


Payloads used to dispatch change events. Could become a public API post 3.0 in case developers want to handle it more effectively.

Sending these change payloads is critical for the common case where DefaultItemAnimator won't animate them and re-use the same view holder if possible.

Summary

Enum Values

ITEM_TO_PLACEHOLDER
PLACEHOLDER_POSITION_CHANGE
PLACEHOLDER_TO_ITEM

Public fields

final @NonNull String
final int

Enum Values

Public fields

name

@NonNull
public final @NonNull String name

ordinal

@NonNull
public final int ordinal