The problem is in step 6 of the "Load and display images from the internet" codelab
In instruction 8 of step 6 it says to "Update the code to pass variable viewModel as an argument to the MarsPhotosApp composable." However, the MarsPhotosApp composable has not been updated to accept a viewModel in the constructor. I checked through previous steps and am using the repo-starter but I could not find an instruction to update the composable anywhere. If however I am mistaken I am very sorry for wasting your time with a false report.
Versions
Android Studio Electric Eel | 2022.1.1 Patch 2
API 31
(https://developer.android.com/codelabs/basic-android-kotlin-compose-add-repository?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-5-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-add-repository#5)
The problem is in step 6 of the "Load and display images from the internet" codelab
In instruction 8 of step 6 it says to "Update the code to pass variable viewModel as an argument to the MarsPhotosApp composable." However, the MarsPhotosApp composable has not been updated to accept a viewModel in the constructor. I checked through previous steps and am using the repo-starter but I could not find an instruction to update the composable anywhere. If however I am mistaken I am very sorry for wasting your time with a false report.
Versions Android Studio Electric Eel | 2022.1.1 Patch 2 API 31