Image via Wikipedia The debate of using Dependency Injection in Android has always been half-assed in a way. First, some background. On Mobile initialization is the bottleneck as opposed to Enterprise where the application is started once so we do not care about initialization times. In dependency injection there is an initialization setup penalty. People [...]
Posts Tagged ‘Dependency Injection’
Android Java Patterns and DI
Posted: September 5, 2010 in AndroidTags: Android, Dependency Injection, Java, Just-in-time compilation, Patterns
2
Why write a Guice-lib for Android
Posted: November 17, 2009 in Android, Java, MobileTags: Android, Dependency Injection
As background, yes I do have some Java enterprise coding chops where I am quite use to using IoC frameworks such as Spring. In which case you not only use Spring to make better MVC boundary definitions but also to write better unit tests via mocks etc. Unlike Spring IoC on Android one has to [...]
Yasdic-Dependency Injection for Android
Posted: July 1, 2009 in Android, Java, MobileTags: Android, Dependency Injection
Unlike Google Guice, Yasdic handles dependency injection by String id rather than type and is smaller than Google Guice. The code author has a good set of examples and directions.


