Open victorgvieira opened 4 years ago
I guess that is missing the liveData type in this highlighted code
Resolution: liveData<List<Plant>>
liveData<List<Plant>>
Same issue.
Yeah following the example of val plants it should be fun getPlantsWithGrowZone(growZone: GrowZone): LiveData<List<Plant>> = liveData {
val plants
fun getPlantsWithGrowZone(growZone: GrowZone): LiveData<List<Plant>> = liveData {
I guess that is missing the liveData type in this highlighted code
Resolution:
liveData<List<Plant>>