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
kagomez
09/07/2017, 3:15 PM
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
stantronic
09/07/2017, 6:11 PM
I've tried that, but it doesn't seem to work for me
k
kagomez
09/07/2017, 7:53 PM
really? I haven't search how to use them on kotlin