Join Slack
Powered by
Is there any practical difference between @Activit...
# android
l
luke_c
06/15/2020, 9:53 PM
Is there any practical difference between @ActivityScoped and @Singeton in Dagger Hilt in a single activity application?
j
jw
06/15/2020, 10:13 PM
Yes. Services, receivers, and content providers can all run without an activity
jw
06/15/2020, 10:17 PM
Not to mention a config change creates a new activity scope in a single process
👍 4
l
luke_c
06/15/2020, 10:19 PM
Great examples, thank you
2
Views
Open in Slack
Previous
Next