I am trying to use Uncle Bob's clean architecture in my Android app. So, I followed this guy with an excellent implementation based on RxAndroid, Dagger 2 for DI.
I know that to get data from data warehouses (Cloud or local db or disk), Interactors classes (Use Case at the domain level) will call repositories at the DATA level.
In my case, I have to make two parallel calls to the REST API (Foursquare API and Google API), then compare the received data from each call.
Do I have to implement these upgrades at the data level or within Interactors at the domain level?
If any external API call belongs to a data layer, what is the role of the interactions approach in Uncle Bob?
I am new to this approach, any help is much appreciated!
source
share