Hendrik Marx
11/02/2022, 9:57 AMlet core = Core(myNativeImplementationOfCoreInterfaces())
let l1 = Lib1Class(core) // works
let l2 = Lib2Class(core) // does not work. Core is technically a different class here with the same name
Does anyone know how to make this work or if this is even possible?
I provided a little sketch of the situation.Andrei Salavei
11/02/2022, 10:40 AMlet l1 = Lib1.Lib1Class(core)
let l2 = Lib2.Lib2Class(core)
Hendrik Marx
11/02/2022, 10:47 AMMayank
11/02/2022, 10:53 AMHendrik Marx
11/02/2022, 11:38 AMHendrik Marx
11/10/2022, 12:47 PMclass Lib1Class(private val dependency: (Map<String,Any?> , String, String) -> Unit)
And my core dependency has a function with this signature that I can then just pass as a parameter from the native apps.