Open gcottenc opened 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.
There is another mention earlier that is wrong, too: One second after the user clicks the main view, it requests a snackbar.
One second after the user clicks the main view, it requests a snackbar.
https://codelabs.developers.google.com/codelabs/kotlin-coroutines/#4
->
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.