/**
* Wait one second then update the tap count.
*/
private fun updateTaps() {
// TODO: Convert updateTaps to use coroutines
tapCount++
BACKGROUND.submit {
Thread.sleep(1_000)
_taps.postValue("$tapCount taps")
}
}
".... One second after the user clicks the main view, it requests a snackbar. " Shoul be "One second after the user clicks the main view, it updates number of taps. "
".... One second after the user clicks the main view, it requests a snackbar. " Shoul be "One second after the user clicks the main view, it updates number of taps. "