codelab-kotlin-coroutines icon indicating copy to clipboard operation
codelab-kotlin-coroutines copied to clipboard

Explanation is not compliant with code

Open jmarsican opened this issue 3 years ago • 0 comments
trafficstars

The following explanation does not apply to the code it refers to:

This implementation uses a callback to do a few things:

Before it starts a query, it displays a loading spinner with _spinner.value = true When it gets a result, it clears the loading spinner with _spinner.value = false

The implementation with callbacks displays loading spinner with _spinner.postValue() in order to switch back to main thread

jmarsican avatar Feb 27 '22 01:02 jmarsican