initial KMP setup
This commit is contained in:
commit
fbfaf9be00
47 changed files with 1469 additions and 0 deletions
7
composeApp/src/androidMain/kotlin/Platform.android.kt
Normal file
7
composeApp/src/androidMain/kotlin/Platform.android.kt
Normal file
|
@ -0,0 +1,7 @@
|
|||
import android.os.Build
|
||||
|
||||
class AndroidPlatform : Platform {
|
||||
override val name: String = "Android ${Build.VERSION.SDK_INT}"
|
||||
}
|
||||
|
||||
actual fun getPlatform(): Platform = AndroidPlatform()
|
Loading…
Add table
Add a link
Reference in a new issue