‘companion object’ can also implement an interface pl.kotl.in/Y9NQ_cF-V?utm_… #KotlinTips
8
138
469
0
14
Download Image
@kotlin And it can also be `private`! Great feature when all you have is private variables for your tests.
@kotlin Which cases companion object implement interface?🤔
@kotlin Still figuring out in what case could this feature be used for.