jakubgruber
04/09/2018, 9:25 AM@JvmField
and const
? Is property exposed to Java as a static if const
is used? Android Studio recommended that to me, so just asking 🙂edwardwongtl
04/09/2018, 9:29 AM@JvmField
is just asking the compiler not to generate getters and setters for kotlin properties, while const
is compile time constant, which will be inlined by the compiler. They are two very different thing.