https://kotlinlang.org logo
#announcements
Title
# announcements
j

jw

06/13/2017, 6:23 PM
i can have a companion object implement an interface and interact with its instance-less methods via abstraction
u

uli

06/13/2017, 7:12 PM
jw: well, there are no instance less methods in companion objects. If i define an extension method on a companion object and don't use the companion object instance i get a warning
j

jw

06/13/2017, 10:05 PM
It's instance-less with respect to the enclosing class, not the companion class
7 Views