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

Apache License 2.0
92 stars 193 forks source link

Android Basics: Coroutines #85

Closed xinneph closed 2 years ago

xinneph commented 3 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 https://developer.android.com/codelabs/basic-android-kotlin-training-introduction-coroutines#3

In which task and step of the codelab can this issue be found? in provided example:

fun CoroutineScope.launch {
    context: CoroutineContext = EmptyCoroutineContext,
    start: CoroutineStart = CoroutineStart.DEFAULT,
    block: suspend CoroutineScope.() -> Unit
}

Describe the problem I guess it should be:

fun CoroutineScope.launch(
    context: CoroutineContext = EmptyCoroutineContext,
    start: CoroutineStart = CoroutineStart.DEFAULT,
    block: suspend CoroutineScope.() -> Unit
)
osuleymanova commented 2 years ago

@xinneph Thank you for reaching out to us. Your concern regarding the code provided in the codelab was correct. The actions were taken for updating it: Screen Shot 2022-04-15 at 11 46 00 AM Happy coding!