Skip to content
This repository has been 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