Android-CleanArchitecture-Kotlin
Android-CleanArchitecture-Kotlin copied to clipboard
Question: Where to put usecase/interactor used in different modules
For example, we have a usecase/interactor that needs to be used by other modules also:
VisitModuleUseCase - marks down the count on how many times does the feature/module is visited.
It will be use by all features (eg: movies, news feed, faqs, etc)
What folder should it go? Or should we create specific use case for each modules?
A new module that is shared between the modules I think
I have the same question. How if we put it in core/interactor module?
@azisuazusa, from the idea of @Zhuinden, As of now, I'm currently putting it inside features/common/interactor.