How to inject provided object inside Android Service? #270
Answered
by
evant
ryccoatika
asked this question in
Q&A
-
I have a Firebase Messaging Service, used to listen every new token up coming. So the question is, how I inject the repository into my Firebase Messaging Service class regarding this class will be placed inside Android Manifest |
Beta Was this translation helpful? Give feedback.
Answered by
evant
Jun 22, 2023
Replies: 1 comment 1 reply
-
https://github.com/evant/kotlin-inject/blob/main/docs/android.md#injecting-into-platform-classes Docs talk about Activity but it should also apply to Service |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ryccoatika
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/evant/kotlin-inject/blob/main/docs/android.md#injecting-into-platform-classes
Docs talk about Activity but it should also apply to Service