Hamza
10/04/2018, 11:22 AMh0tk3y
10/04/2018, 7:34 PMjosephivie
10/04/2018, 10:56 PMHamza
10/05/2018, 1:57 AMh0tk3y
10/05/2018, 5:02 AMyou’ll have to write separate implementations for each platformIn fact, with the new Multiplatform Projects model, you can write just two implementations, one for a certain platform, and another for all the other platforms. You just have to put the second one in a source set that is directed to the compilations appropriately, as described here: kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets Even in that case, though, you may still need an expect declaration in the common sources which both the source sets holding the actuals see.
Hamza
10/05/2018, 5:51 AMjosephivie
10/10/2018, 11:01 PM