Implementing Spring-like package scanning in Android

后端 未结 5 1009
情话喂你
情话喂你 2020-12-30 17:03

I\'m attempting to implement a package-scanning feature, similar to Spring\'s component-scan, for the Android framework I\'m developing. Basically, I would like

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 17:44

    In your java build process incorporate the class path scanning, generating injection data/code. This could then be ported too to Dalvik. It is even more efficient that dynamic scanning.

提交回复
热议问题