AsyncAwait:基于Kotlin 1.1中引入的协程构建的Android asyncawait 源码
异步/等待 Android的Kotlin库使用async / await方法以更简单,更可靠的方式编写异步代码,例如: async { progressBar.visibility = View . VISIBLE // Release main thread and wait until text is loaded in background thread val loadedText = await { loadFromServer() } // Loaded successfully, come back in UI thread and show the r
文件列表
AsyncAwait-master.zip
(预估有个45文件)
AsyncAwait-master
.gitignore
104B
app
.gitignore
14B
build.gradle
1KB
src
main
AndroidManifest.xml
972B
kotlin
co
暂无评论