Interesting problem. I don't think you can do that...
# getting-started
h
Interesting problem. I don't think you can do that with an enum in Kotlin. I don't know the Togglz library, but I'd guess they only use an
enum
as a Java singleton?