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

Advanced Kotlin Coroutines, Section 6: Type inference failed

Open victorgvieira opened this issue 4 years ago • 2 comments

I guess that is missing the liveData type in this highlighted code

image

Resolution: liveData<List<Plant>>

victorgvieira avatar Jun 26 '20 04:06 victorgvieira

Same issue.

zaprogrammer avatar Jun 29 '20 15:06 zaprogrammer

Yeah following the example of val plants it should be fun getPlantsWithGrowZone(growZone: GrowZone): LiveData<List<Plant>> = liveData {

ChrisGuzman avatar Aug 07 '20 19:08 ChrisGuzman