Join Slack
Powered by
No, there exists only a single companion instance ...
# announcements
k
karelpeeters
09/06/2017, 6:10 PM
No, there exists only a single companion instance per class, you can use it like this:
MyClass.companionFunction()
. What you're looking for is nested classes.
Open in Slack
Previous
Next