I've been wondering about this as well. It would have been awesome if Android had had its own DI built-in.
I recall Bob Lee mentioning that he created one Guice injector per Activity. I haven't used the instrumenation yet, but the locator pattern seems reasonable. Roboguice kind of scared because of all the reflection that must be going on, but it does seem to remove a fair amount of boilerplate. Moandji -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
