验证中...
Languages: Kotlin
Categories: Android 组件
Latest update 2019-06-22 15:58
build.gradle
Raw Copy
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0-M1'
Main.kt
Raw Copy
fun start() {
GlobalScope.launch {
delay(1000)
println("launched")
}
println("started")
Thread.sleep(2000)
}

Comment list( 0 )

You need to Sign in for post a comment

Help Search