google-developer-training / basic-android-kotlin-compose-training-race-tracker

Apache License 2.0
31 stars 30 forks source link

Android Basics: Introduction to Coroutines in Kotlin Playground #22

Open Dima-Muzychenko opened 5 months ago

Dima-Muzychenko commented 5 months ago

Good day. I may have misunderstood something, but in this section you contradict yourself. You first say that the launch() function Dispatchers.Default as a default dispatcher (Fig. 1), but then you give an example where in launch() you output the stream name and "main" is output, that means that Dispatchers.Main is used by default for some reason (Fig. 2). So, what is used in launch() by default: Dispatchers.Main or Dispatchers.Default image image