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

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

Open appsbuilder999 opened this issue 2 years ago • 0 comments

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

appsbuilder999 avatar Jun 03 '23 05:06 appsbuilder999