codelab-kotlin-coroutines
codelab-kotlin-coroutines copied to clipboard
Advanced Kotlin Coroutines, Section 6: Type inference failed
I guess that is missing the liveData type in this highlighted code
Resolution:
liveData<List<Plant>>
Same issue.
Yeah following the example of val plants
it should be
fun getPlantsWithGrowZone(growZone: GrowZone): LiveData<List<Plant>> = liveData {