In which task and step of the codelab can this issue be found?
Task: Update MarsApiService and OverviewViewModel
Step: 5
Describe the problem
the code snippet uses the "@GET("photo")" when it should be "@GET("photos")"
also, the getPhotos() fun is not written as a suspend function when it should be declared as such
Steps to reproduce?
Go to...
Click on...
See error...
VersionsAndroid Studio version:API version of the emulator:
Additional informationInclude screenshots if they would be useful in clarifying the problem.
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 https://developer.android.com/codelabs/basic-android-kotlin-training-getting-data-internet?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-4-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-getting-data-internet#7
In which task and step of the codelab can this issue be found? Task: Update MarsApiService and OverviewViewModel Step: 5
Describe the problem the code snippet uses the "@GET("photo")" when it should be "@GET("photos")" also, the getPhotos() fun is not written as a suspend function when it should be declared as such
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.