Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.
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

Description

@appsbuilder999

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions