android10 / android10/Android-CleanArchitecture-Kotlin

Question about database observing

オープン
#33 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
discussion question
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。