Alexey SoshinJul 23, 2019·1 min readAnd now in Kotlin:https://proandroiddev.com/algebraic-data-types-in-kotlin-337f22ef230a