Open fillooow opened 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.
At the end of 5th step there are example of MainViewModel.kt:
so, the comment is about snackbar and code below changes taps value. It's a little confusing.