agrosner / agrosner/DBFlow

TableChangedListener never notified

Aperta
#1,621 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.