Join Slack
Powered by
<@U0Z3X3AN6> If it’s supposed to be a singleton yo...
# android
k
kojdecki
12/14/2016, 12:26 PM
@rudolf.hladik
If it’s supposed to be a singleton you can just change
class MyBus
to
object MyBus
and remove companion object altogether, though the constructors are not private and I’m not sure how you want this to work because of that
👍 2
Open in Slack
Previous
Next