Integrating RoboGuice with ArcGIS Runtime SDK for Android

RoboGuice is a framework which brings dependency injection to Android using Google’s Guice library.  Dependency injection provides a simple convenience to programming.  Here is an example of such convenience:

HelloWorld app

HelloWorld with RoboGuice

Dependency injection provided by RoboGuice simplifies your code down to your apps business logic.  It may be subtle in this simple example but as your app gets complicated with initialization and lifecycle code using RoboGuice allows your code to be about your app.

This entry was posted in Developer, Mobile and tagged , , . Bookmark the permalink.

Leave a Reply