Is there any particular approach recommended when ...
# kotlin-inject
j
Is there any particular approach recommended when using kotlin-inject with WorkManager? I see Tivi has for example custom
WorkerFactory
...but had wondered if maybe something similar to
@HiltWorker
?
s
I'd say save component for app scoped deps in Application and use that as a root component and parent for Worker component