Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect MutableObservableArray difference #704

Open
krotoff opened this issue Apr 7, 2021 · 0 comments
Open

Incorrect MutableObservableArray difference #704

krotoff opened this issue Apr 7, 2021 · 0 comments

Comments

@krotoff
Copy link

krotoff commented Apr 7, 2021

Hello.

I have an issue with diff and patch calculating. I receive nothing in these properties when have changes in the array.
To check this, I have added zipPrevious and it shows that I have real changes, but not diff and patch.

viewModel.bnd_items
  .zipPrevious()
  .observeNext { (old, items) in
    print(items.diff, items.patch, old?.collection == items.collection) 
    // Inserts: [], Deletes: [], Updates: [], Moves: [] [] false
  }
  .dispose(in: disposeBag)
  • ReactiveKit (3.17.4)
  • Bond (7.6.6):
    • Differ (~> 1.4)
    • ReactiveKit (~> 3.14)

MacOS 11.2.3 (BigSur)
Xcode 12.4
iOS 12.4-14.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant