android10 / android10/Android-CleanArchitecture
Push events in the data layer to the presentation layer
Ouverte
discussion
question
- Langage dominant
- Java
- Étoiles
- 15.5k
- Forks
- 3.3k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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 ...
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.