Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
3
Describe the problem
@Preview(showBackground = true)
@Composable
fun PhotosGridScreenPreview() {
MarsPhotosTheme {
val mockData = List(10) { MarsPhoto("$it", "") }
PhotosGridScreen(mockData)
}
}
+ note
uses (correctly) mock as keyword for data placement in testing scenarios whereas previously, the term "fake" was used - it's best to remain consistent and update previous codelab(s) with the term mock instead of "fake" and give an analogy that mock data is "fake" data as an explanation to make the point
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.
URL of codelab: https://developer.android.com/codelabs/basic-android-kotlin-compose-load-images?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-load-images#3
Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found? 3
Describe the problem
+ note
uses (correctly)
mock
as keyword for data placement in testing scenarios whereas previously, the term "fake" was used - it's best to remain consistent and update previous codelab(s) with the termmock
instead of "fake" and give an analogy thatmock
data is "fake" data as an explanation to make the pointSteps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.