Background work and notifications

5 concepts · 15 practice questions

Picking the right tool

Work tied to a screen runs in a coroutine scope. Work that must finish even if the app closes goes to WorkManager. Ongoing work the user is aware of, like tracking a run, is a foreground service. Something that must happen at an exact clock time is an exact alarm.

Also covered

WorkManager
Foreground services
Push messaging
Notifications

Sign in to read the rest and take the 15-question test.

Sign in to continue