android10 / android10/Android-CleanArchitecture
Q: Should we make DataMapper in presentation layer singleton or contains static functions?
Open
- Dominant language
- Java
- Stars
- 15.5k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
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,
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.