Hilt injection in Android Services

前端 未结 0 1611
生来不讨喜
生来不讨喜 2021-02-04 05:18

I want to inject a class in Service. Lets have a look at the code below:

class DeviceUtil @Inject constructor() {
   ...
}

@AndroidEntryPoint
class          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题