google-developer-training / android-basics-kotlin-mars-photos-app

Apache License 2.0
92 stars 193 forks source link

Android Basics: Get data from the Internet #108

Closed BrytonPetersen closed 10 months ago

BrytonPetersen commented 2 years ago

name: Android Basics Unit 4 issue about: Report problems with the Android Basics Unit 4 codelabs title: 'Android Basics Unit 4 issue:' labels: '' assignees: ''


URL of codelab

In which task and step of the codelab can this issue be found? Step 5 of adding Moshi library dependencies

Describe the problem

Throws an error because the function getPhotos() in the MarsApiService interface is missing keyword "suspend"

Versions Android Studio version: Most recent API version of the emulator: 31