Join Slack
The `get()` results in it being created at call-time (and each time something accesses `httpLogging`...
# android
a
alex2069
06/28/2018, 2:59 AM
The
get()
results in it being created at call-time (and each time something accesses
httpLogging
). Without the
get()
it's kind of like a constant field that is initialized once when the class is constructed with each access to
httpLogging
returning that value.
c
chi
06/28/2018, 6:45 PM
Thanks!
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by