Well, `var` is mutable so another thread can chang...
# announcements
a
Well,
var
is mutable so another thread can change it’s value and set
null
. You can turn it to
val
or
lateinit var
to avoid casting.