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
Allow users to get Change
object when subscribing to Observable*
collections
#5
Comments
Unlike |
I'm currently making the required changes to the code. Will submit a pull request |
Pull request sent. Can you plz review & accept pull request if fix is good enough Thanks |
@shadskii Can you please review the pull request |
@shadskii Thanks for merge. Can you publish new version to maven central aswell. I only see 1.8.0 there |
@shadskii Can u publish a new version to maven central |
Yes I had an issue with my previous computer that had the private key for uploading to maven on it. I am in the process of recovering it and I should have the new version up in a day or two :) Sorry for the delay and thanks for your patience! Jake |
Version 2.0.0 has been published to maven central. Thank you for your contribution! Cheers, Jake |
Currently, this library consumes the most important information about the changes that happened in the underlying library
For example, if I have a dynamic tree whose children can be added & removed dynamically & I want to expose this information to a TreeView, each node needs to know what changes happened to the child
ObservableList
s & in what position. This position information can never be accessed because the library swallows this information & only emits a subset of the this important informationFor eg., for
ObservableList
currently I can only getObservableList
viaFlux<ObservableList<T>> from(ObservableList<T> source)
Flux<T> fromAdditionsOf(ObservableList<T> source)
Flux<T> fromRemovalsOf(ObservableList<T> source)
Instead the user should get the full power of underlying
*Change
(ListChangeListener.Change
incase ofObservableList
) objects. This way user will know what happened & most importantly where in the underlying childObservable*
This has to be applied to every
Observable*
collection as the library should never hinder the user from getting the underlying raw information if the user needs it as my above example demonstrates itThe text was updated successfully, but these errors were encountered: