objectbox-java
objectbox-java copied to clipboard
Support observing changed entities only
Edit: instead of returning all results, only return changes (e.g. newly inserted, or updated entities).
Have a look at https://docs.objectbox.io/data-observers-and-rx -Uwe
看看https://docs.objectbox.io/data-observers-and-rx -Uwe
He will return the unmodified data to me.
How can I get the data that was added or modified?
Instead of returning an array of all the data
Sorry, to my knowledge that is not possible. -Uwe
@Buggaboo ObjectBoxLiveData is just a wrapper around a data observer. You still have to keep track of things that changed yourself (e.g. the async diff tool for RecyclerView.Adapter does that). -Uwe