android10 / android10/Android-CleanArchitecture
Push events in the data layer to the presentation layer
Abierto
discussion
question
- Lenguaje dominante
- Java
- Estrellas
- 15.5k
- Forks
- 3.3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
What about update events in the data layer and how to notify about them the presentation layer? Let's suppose, that some third party service has updated some user data in the data base.
Is event bus approach good for that?
For example, we will define some event class in the domain layer: UserUpdatedEvent. Some presenter in the presentation can subscribe/unsubscribe for this event on the event bus. Data layer can post the UserUpdatedEvent on event bus ...
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.