I'm pleased to announce the release of
RoboGuice 3, the popular dependency injection framework for Android. RoboGuice is used in thousands of apps across hundreds of millions of devices.
We added some new features to RoboGuice 3, but development of this latest version was focused on performance. Based on our testing, we expect most apps to see improved startup times of between 35% and 75%. This was accomplished through the use of a compile-time annotation processor that preprocesses your code and only computes the injections that your app needs.
What's New in RoboGuice 3:
- Compile-time annotation processing using Blender, a Guice preprocessor
- Simplified roboguice configuration using AndroidManifest
We think RoboGuice 3 is the easiest-to-use DI framework for Android, and with these performance boosts we think most apps should gain a lot of performance headroom. We're also seeing additional boosts from the rising tide of Android device performance as well. Last year's Nexus 5 outperforms the original Mac Mini, iMac, and Macbook Air, not to mention the top of the line devices released this year.
Even with the faster devices in the market we want to keep improving RoboGuice for older devices, so work has already begun on RoboGuice 4. RoboGuice 4 will further shift even more computation to the compilation phase, while still providing all of the power and flexibility of runtime dependency injection. We have more developers than we did back when we wrote version 2, so we expect to be able to release major new versions more quickly in the future.
RoboGuice 3 has already been in production use on tens of millions of devices for several months, so we believe it's ready for production in your apps. To upgrade, visit the
upgrade instructions.
Cheers,
The RoboGuice Team