Thread.sleep() doesn't block mainThread in coroutine in Android activity lifecycle?

后端 未结 0 938
渐次进展
渐次进展 2020-12-16 08:28

I tested this code of an Android activity, the log shows that Thread.sleep() actually didn\'t block the mainThread to run the onStart and onResume of the lifecycle.

I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题