Join Slack
Powered by
<@U3CRR6B5J> is right. You could use the `lazy` de...
# android
s
sindrenm
12/14/2016, 11:55 AM
@kojdecki
is right. You could use the
lazy
delegation like this instead of having a separate
instanceOf
function:
Copy code
companion object { val instance by lazy { MyRxBus() } }
Open in Slack
Previous
Next