InsertKoinIO / koin-annotations

Koin Annotations - About Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform insert-koin.io
https://insert-koin.io
Apache License 2.0
155 stars 40 forks source link

Worker Annotation for Android WorkManager Worker #169

Closed mschwerz-bitrip closed 1 week ago

mschwerz-bitrip commented 1 week ago

Is your feature request related to a problem? Please describe. I would like to use exclusively annotations to define my Android dependencies

Describe the solution you'd like A Worker annotation that be placed on WorkManager worker implementations to inject

Describe alternatives you've considered I currently use the Kotlin DSL to define my workers

Target Koin project koin-annotations

kibettheophilus commented 1 week ago

Hi @mschwerz-bitrip , I am not sure about your question but there exist an annotation for Worker @KoinWorker

Also check out this project on how I did the setup - koin-playground

mschwerz-bitrip commented 1 week ago

Hi @mschwerz-bitrip , I am not sure about your question but there exist an annotation for Worker @KoinWorker

Also check out this project on how I did the setup - koin-playground

I 100% did not see that. Thank you for mentioning!