Open software-wolf opened 1 year ago
URL of codelab:
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
Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
6.8 - Update the code to pass variable viewModel as an argument to the MarsPhotosApp composable.
Describe the problem
The error below is given when the viewModel is passed as an argument to the MarsPhotosApp composable.
Type mismatch. Required: Modifier Found: MarsViewModel
The solution code also doesn't pass the viewModel as an argument.
Steps to reproduce?
Versions Android Studio version: Eel API version of the emulator: NA
Additional information Include screenshots if they would be useful in clarifying the problem.
Duplicate of #29, #25, #20.
URL of codelab:
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
Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
6.8 - Update the code to pass variable viewModel as an argument to the MarsPhotosApp composable.
Describe the problem
The error below is given when the viewModel is passed as an argument to the MarsPhotosApp composable.
Type mismatch. Required: Modifier Found: MarsViewModel
The solution code also doesn't pass the viewModel as an argument.
Steps to reproduce?
Versions Android Studio version: Eel API version of the emulator: NA
Additional information Include screenshots if they would be useful in clarifying the problem.