android / codelab-kotlin-coroutines

Kotlin Coroutines codelab
Apache License 2.0
552 stars 268 forks source link

description discrepancy #105

Open gcottenc opened 4 years ago

gcottenc commented 4 years ago

https://codelabs.developers.google.com/codelabs/kotlin-coroutines/#4

   // _snackbar.value can be called directly from main thread

->

   // _taps.value can be called directly from main thread

Go ahead and run it. When you click on the main view you should see a snackbar one second later.

->

Go ahead and run it. When you click on the main view, you should see the taps counter incremented one second later.

xuiqzy commented 4 years ago

There is another mention earlier that is wrong, too: One second after the user clicks the main view, it requests a snackbar.