会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
MadDonkey
博客园
首页
新随笔
联系
订阅
管理
2022年4月19日
Kotlin 函数的默认参数没有出现在签名中 runBlocking 默认参数在源代码中未定义?默认参数的小坑
摘要: 问题起因 runBlocking的context参数有默认值。但是在Android Studio中查看源代码,发现源代码中定义如下: @Throws(InterruptedException::class) public actual fun <T> runBlocking(context: Cor
阅读全文
posted @ 2022-04-19 00:08 MadDonkey
阅读(217)
评论(0)
推荐(1)
编辑