Uwe (ObjectBox)
Uwe (ObjectBox)
Thanks for reporting! The issue are these lines as you already found out: ``` it.properties.removeById(removedID) propertyBox.remove(removedID) it.properties.applyChangesToDb() ``` It should be done in this order: ``` it.properties.removeById(removedID) it.properties.applyChangesToDb() // Update...
Thanks for reporting! Funny enough, I stumbled upon the note regarding KSP while looking up some Kapt info and created an internal issue for this. From a first look the...
Also think about only loading IDs instead of the whole entity. https://stackoverflow.com/q/54821446/9187282
The only difference to subscribing using `boxStore` directly is a [call to `.weak()` and `.onlyChanges()` when the subscription is built](https://github.com/objectbox/objectbox-java/blob/master/objectbox-java/src/main/java/io/objectbox/query/QueryPublisher.java#L55-L56). As the second doesn't matter when subscribing to a query...
Have a look at https://docs.objectbox.io/data-observers-and-rx -Uwe
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)....
Thanks for the additional details. However, I failed to reproduce this. I tested using a local unit test on Windows and an instrumentation test on an Android 12 emulator. Used...
The plugin uses the latest moshi, which depends on an old version of okio. ``` +--- com.squareup.moshi:moshi:1.11.0 | \--- com.squareup.okio:okio:1.17.5 ``` As Gradle plugins applied using the legacy syntax share...
Thanks! In the meanwhile tried this myself and it seems a specially [named (additional) marker artifact](https://docs.gradle.org/current/userguide/plugins.html#sec:plugin_markers) is required for the new plugin syntax to work. So the current ObjectBox Gradle...