Join Slack
Powered by
Hey, how would you guys write a `object` singleton...
# android
j
jasonlow
06/12/2017, 1:15 AM
Hey, how would you guys write a
object
singleton that accepts an Android’s
context
? Since an
object
can’t have anything in its constructor, I’ve been trying to figure out an alternative to a lazy init.
2
Views
Open in Slack
Previous
Next