Here's the interface:
interface SomeInterface {
companion object {
const val MY_CONST = "the constant"
}
}
And then, the class (without body because is only an example):
class SomeClass : SomeInterface
After this, when I try to call the constant through SomeClass, it not allows me:
SomeClass.MY_CONST
How do I resolve this?