I want to inject View Model in Service, how can it possible.
I recently started using DI in my project through Dagger Hilt. I'm having no problems when injecting viewModel instances into Activity/Fragment. But I am not sure how to inject this in service
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.