Vsevolod Ganin
09/07/2020, 1:15 PMinterface GenericInterface<T> {
fun add(value: T)
}
and I have an abstract class which inherits from this interface
abstract class ConcreteClass : GenericInterface<DataClass>
and I want to implement ConcreteClass
in Swift. Unfortunately the type information about DataClass
is lost in interop code. Is there a way to workaround this?Vsevolod Ganin
09/07/2020, 2:08 PMabstract class ConcreteClass : GenericInterface<DataClass> {
abstract override fun add(value: DataClass)
}