Hey guys, on java world, I usually used int over E...
# android
s
Hey guys, on java world, I usually used int over Enum on Android with the IntDef annotation (https://developer.android.com/reference/android/support/annotation/IntDef.html), IYO may I use enum over Integer with Kotlin ? Is there any performance diff ? Thanks
m
No performance difference between Kotlin and Java enums. And performance difference between IntDefs and enums is veeeery hard to notice.