Android-CleanArchitecture-Kotlin icon indicating copy to clipboard operation
Android-CleanArchitecture-Kotlin copied to clipboard

None class for UseCase

Open RuiMiguel opened this issue 6 years ago • 0 comments

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!

RuiMiguel avatar Jan 24 '19 16:01 RuiMiguel