I think this was discussed before, but there's no way to inherit a companion object, right?
For instance, I need that every
Model
class have a
Factory
for it
b
bbaldino
03/14/2019, 6:25 PM
i've wanted this exact same behavior. you can have a companion implement an interface, but i don't think you can enforce that a class has a companion object which implements an interface
l
LeoColman
03/14/2019, 6:29 PM
there's no such thing as an abstract companion object hahaha