android / architecture-samples

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
Apache License 2.0
44.3k stars 11.62k forks source link

Add application scope for fire-and-forget jobs #926

Closed dturner closed 1 year ago

dturner commented 1 year ago

What have I done and why?

For the main app, an application scope is used. This is defined using the ApplicationScope qualifier. For tests, TestScope is used.

Note: This change also includes https://github.com/android/architecture-samples/pull/928