rjhdby
12/29/2018, 10:44 AMexpect
function?
For example, Drawable
for android and UIImage
for ios?gildor
12/29/2018, 12:03 PMImage
which itself maybe expect declaration, implemented on each platform in a way that exposes platform typeitnoles
12/29/2018, 3:56 PMgildor
12/30/2018, 3:07 AMAndrey Gromov
12/30/2018, 6:47 AMfun getImageForId(id:Int):Drawable
For iOS
fun getImageForId(id:NSString):UIImage
Of course I can declare those funcs separately, but it will be nice to declare abstract contract for getImageForId
inside common code.gildor
12/30/2018, 7:18 AM