Hi folks, I understand that Java enums are not gre...
# android
s
Hi folks, I understand that Java enums are not great to use in android development, due to performance and memory overhead. Are kotlin enums any better? or just the same?
k
Google recommend you to use their @IntDef, @StringDef etc; I'm not sure if you will need to add a kapt on your gradle file for this
s
I've tried that, but it doesn't seem to work for me
k
really? I haven't search how to use them on kotlin
after a little research
seems like we wont be able to use this for a while