As a Java developer I’ve become accustomed to having dependency injection available in applications. For Android though, I am especially wary of performance. What are the performance implications for using Guice in an Android app? I assume there is some overhead, but is it significant enough that I should avoid using Guice?
My use of it would likely just be to inject a few shared objects into various activities.
As of version 3, Guice caches reflective objects to improve performance. There’s at least one bug out against dalvik to make annotation lookups faster, but the current performance is workable.