TableChangedListener never notified
- Lingua principale
- Kotlin
- Stelle
- 4.8k
- Fork
- 593
- Merge medio
- 1m
- PR unite (30g)
- 1
Descrizione
DBFlow Version:
4.24.0
Bug or Feature Request:
Bug
Description:
I was trying to retrieve a list of objects using an RxJava `Flowable`, similarly to the method described here:
https://medium.com/fuzz/how-to-make-dbflow-as-testable-as-room-with-kotlin-b1694f3f80ad
But the `Flowable` only returns the values once. It never receives updates when I insert or delete items. I discovered that if I set up a `DirectModelNotifier`, `registerForModelChanges` will work (`onModelChanged` observes `Actions`), but `registerForTableChanges` won't observe anything.
I'm using Kotlin and my model is a data class.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.