Join Slack
Powered by
Don't use `lateinit var` unless you're absolutely ...
# android
e
egorand
10/11/2018, 12:21 AM
Don't use
lateinit var
unless you're absolutely sure it'll get initialized before your code accesses it. If it's not the case - use a nullable var and safe calls.
👍 3
Open in Slack
Previous
Next