android10 / android10/Android-CleanArchitecture-Kotlin
Question about database observing
- 主要語言
- Kotlin
- 星號
- 4.8k
- 分支
- 929
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I am currently porting my project from the java Clean Architecture structure to the Kotlin structure. I am using the Cloud Firestore database and in my previous project I had a snapshot listener that would emit data every time new data was added to the database. The presenters would be notified by each update (via RXJava observables) and then update the UI.
From what I can see the MoviesRepository.movies() function has to be invoked by the MoviesFragment manually to see any updated data.
Am I correct in assuming this new architecture no longer supports real-time model updates? Has anyone adapted this solution to support reactive streams without RX Java?
Thanks for the help!
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。