Skip to content

DataChange not dispatched when value in List changes #13

@Robbendebiene

Description

@Robbendebiene

Hi, I'm trying to understanding the change callback on the DataDiffUpdate class.

Why does

diffutil.calculateListDiff([1, 2, 3], [1, 0, 3]).getUpdatesWithData();

return

      [
        DataRemove(position: 1, data: 2),
        DataInsert(position: 1, data: 0)
      ];

I would have assumed a single DataChange.

Can you please explain when a DataChange will be created?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions