Android Performance: Avoid using ENUM on Android
Ankit Sinhal

Nice article. Android devs today is frequentely using Kotlin as main language, and it give us a enum likely feature called "Sealed class" ( 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.

Like what you read? Give Édipo Souza a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.