, 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
My Nguyen
10/31/2022, 7:35 AM
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.