Android-CleanArchitecture-Kotlin
Android-CleanArchitecture-Kotlin copied to clipboard
None class for UseCase
Hi Fernando,
why not declare UseCase.None class as an object better? just one instance for every None to avoid memory allocation each time.
In that way, why not using Unit singleton instead of None?
thanks!