android / codelab-kotlin-coroutines

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

typo in comment on step 5 #78

Open fillooow opened 4 years ago

fillooow commented 4 years ago

At the end of 5th step there are example of MainViewModel.kt:

// resume in the main dispatcher
// _snackbar.value can be called directly from main thread
_taps.postValue("$tapCount taps")

so, the comment is about snackbar and code below changes taps value. It's a little confusing.