google-developer-training / basic-android-kotlin-compose-training-workmanager

Apache License 2.0
30 stars 31 forks source link

Background Work with WorkManager #29

Open alghe-global opened 8 months ago

alghe-global commented 8 months ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-workmanager?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-7-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-workmanager#9

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 please improve the code examples

in one code snippet resolver is shown after require(...) { ... } and in the next example it is shown as if it's part of return withContext(Dispatchers.IO) { ... }

the reader can get confused thinking the resolver is inside return@withContext

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions Android Studio version: API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.