nadako / TinkStateSharp

Handle those pesky states, now in C#
https://nadako.github.io/TinkStateSharp/
The Unlicense
40 stars 1 forks source link

Consider collection modification event "streams" #10

Open nadako opened 1 year ago

nadako commented 1 year ago

In some cases, reinitializing the whole view when an observable collection is changed is undesired, and manually comparing differences is annoying. Consider having granular add/remove/replace event "stream" observables in ObservableDictionary and ObservableList that an user can bind to and handle specific modifications.

Also, "streams" in general seem to be an useful feature for generic event dispatching that integrates well with observables and the scheduling, let's see if we can come up with something nice and easy here.