8000 Explanation is not compliant with code · Issue #164 · android/codelab-kotlin-coroutines · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Explanation is not compliant with code #164

Open
jmarsican opened this issue Feb 27, 2022 · 0 comments
Open

Explanation is not compliant with code #164

jmarsican opened this issue Feb 27, 2022 · 0 comments

Comments

@jmarsican
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0