Join Slack
Powered by
Well, `var` is mutable so another thread can chang...
# announcements
a
artem_zin
06/06/2016, 9:06 PM
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.
2
Views
Open in Slack
Previous
Next