最近我看到了这个-Most data sources already provide main-safe APIs like the suspend method calls provided by Room or Retrofit. Your repository can take advantage of these APIs when they are available.
这是什么意思?机罩下的调度员是否有Dispatcher.IO
个房间进行改装?或者在提出请求时,我需要明确提到这一点吗?
withContext(Dispatchers.IO) {
// Some retrofit call or room query
}