8000 An wrong type in Learn advanced coroutines with Kotlin Flow and LiveData · Issue #183 · 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.

An wrong type in Learn advanced coroutines with Kotlin Flow and LiveData #183

Open
appsbuilder999 opened this issue Jun 3, 2023 · 0 comments

Comments

@appsbuilder999
Copy link

In step 14. Controlling concurrency with flow
Open up PlantListViewModel.kt, and add this to the init block:
init {
clearGrowZoneNumber()
growZone.mapLatest { growZone ->
...
}
"growZone.mapLatest" is wrong, the correct code is : growZoneFlow.mapLatest

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