Android Performance: Avoid using ENUM on Android
Ankit Sinhal
24911

Nice article. Android devs today is frequentely using Kotlin as main language, and it give us a enum likely feature called "Sealed class" (http://kotlinlang.org/docs/reference/sealed-classes.html). Have you any thougths about it vs TypeDef?

One limitation in use TypeDef instead of Enum or Sealed Class is that it lacks possibilite of add methods to grab some specifics attributes that can be initialized with the constant.

Show your support

Clapping shows how much you appreciated Édipo Souza’s story.