android10 / android10/Android-CleanArchitecture-Kotlin

Question about database observing

Ouverte
#33 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
discussion question
Langage dominant
Kotlin
Étoiles
4.8k
Forks
929
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.