Android-CleanArchitecture
Android-CleanArchitecture copied to clipboard
Q: Should we make DataMapper in presentation layer singleton or contains static functions?
I'm new to this Android CleanArchitecture. Also have new knowledge about DI and Android related issues.
As I see, DataMapper classes in data layer are singletons. I want to know why is DataMapper classes in presentation layer PerActivity, not Singleton? how about using static functions in Mappers?
Thanks,