Dovydas
01/29/2025, 9:21 AMexpect class PathProvider {
fun getFilesDir(): String
}
// androidMain
actual class PathProvider(
private val context: Context
) {
actual fun getFilesDir(): String {
TODO("Not yet implemented")
}
}
and the add it to platform specific modules in Koin (and give context for android). But it doesn't work like this because there is no constructor. I've tried different ways with object and interface, but I couldn't get anything to work.Pablichjenkov
01/29/2025, 11:17 AMPablichjenkov
01/29/2025, 11:22 AMPablichjenkov
01/29/2025, 11:23 AM