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

Incorrect return argument in the call funtion getPlantsWithGrowZoneNumberFlow

Open P4drote opened this issue 5 years ago • 1 comments

In the update repository in the section 10 say:

fun getPlantsWithGrowZoneFlow(growZoneNumber: GrowZone): Flow<List<Plant>> { return plantDao.getPlantsWithGrowZoneNumberFlow(growZoneNumber.number) }

the correct is:

fun getPlantsWithGrowZoneFlow(growZoneNumber: GrowZone): Flow<List<Plant>> { return plantDao.getPlantsWithGrowZoneNumberFlow(growZone.number) }

P4drote avatar Jul 24 '20 04:07 P4drote

The return type is correct. It's just the typo in the naming that is misleading.

mikaere66 avatar Mar 13 '22 23:03 mikaere66