Advertisements

Can I loop over a Kotlin Sealed Class?

As an Android developer, I constantly write API clients: 90% of all mobile apps fetch some JSON, parse it and show it in a list ¯\_(ツ)_/¯ To keep a clear separation between what’s coming from the network and what I want in my domain, I usually have a DTO and a Domain Model. DTO andContinue reading “Can I loop over a Kotlin Sealed Class?”

Advertisements