In this video tutorial, see how to use Kotlin Sealed Classes to create limited hierarchies that act like enums but allow you to create multiple instances.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5556-kotlin-sealed-classes