Hi. When using Kotlin `data classes` as `Room Enti...
# android
u
Hi. When using Kotlin
data classes
as
Room Entities
, what
val
means in this case? Thanks.
t
kotlin's class properties is set of getter/setter/field. if you want java's native field, use @ JvmField annotation and use var instead of val .