Hello friends, I had a question about the `recomme...
# android
e
Hello friends, I had a question about the
recommended  android architecture
. Suppose we are building a
vpn client
, in which layer should the business logic and Service class be placed? In the ui layer corresponding to its feature, or the domain layer
😶 2
m
In my understanding, the business logic should be in the domain layer (includes the domain models and use-cases (interactor), maybe Repository interfaces if you do the dependency inversion). the UI layer (ViewModel) should handle only UI logic, not business logic.