yshrsmz
01/29/2019, 1:35 PMVishal
08/08/2019, 6:46 AMyshrsmz
08/08/2019, 9:10 AMVishal
08/08/2019, 10:27 AMkotlin-multi-platform
have the simple code for getting the OS name from two different classes androidMain/kotlin/actual.kt
and iosMain/kotlin/actual.kt
and that name is getting exposed in commonMain/kotlin/common.kt
which have a method createApplicationScreenMessage()
which will be called by Android and IOS.
Now i have a graphQL Webserver and i want to write the common code(maybe in commonMain/kotlin/common.kt) for getting data from my graphQL server which will be used by both android and IOS.