有没有像spring这样的android应用程序框架?

有没有像spring这样的android应用程序框架?

are there any android application framework like spring?

推荐答案

看看roboguice:http://code.google.com/p/roboguice/

Look at roboguice: http://code.google.com/p/roboguice/

顺便说一句,没有什么能阻止你使用 spring - 因为这是纯 java 框架.但它是重量级的,对于您的目的来说可能是矫枉过正.

BTW, nothing prevents you from use spring - as this is pure java framework. but it is heavyweight and probably overkill for your purposes.

问题是 - 你喜欢注入什么作为依赖项?

Question is - what do you like to inject as dependency?

相关文章