Top "Roboguice" questions

Roboguice brings the power and testability of using the Google Guice dependency injection framework to Android application development.

Guice @Provides Methods vs Provider Classes

I'm working on a fairly large project that has a lot of injections. We're currently using a class that implements …

java dependency-injection guice roboguice
Deserializing a Generic Type with Jackson

I am trying to make a class that uses the Jackson to deserialize POJO's. It looks like this... public class …

java android jackson guice roboguice
Using Dependency Injection with Roboguice?

I'm working on an Android project and I would like to know any recommendations about what's a good architecture to …

android design-patterns architecture tdd roboguice
Keep annotated class in Proguard

I have a bunch of classes that use e.g. an @Singleton annotation like so @Singleton public class ImageCache that …

android proguard roboguice
Where is log output written to when using Robolectric + Roboguice?

I'm using Robolectric to test Android. I'm running my tests via maven, e.g. mvn -Dtest=LogTest test If I …

java android maven-2 roboguice robolectric
java.lang.ClassCastException: android.app.Application cannot be cast to roboguice.application.RoboApplication

example using roboguice. This code get ClassCastException. public class MainActivity extends RoboActivity{ @InjectView(R.id.text) TextView name; @InjectView(R.…

android roboguice
Does it make sense to use Guice for Android

I'm debating using guice in an android project that is quite complex and has a lot of business logic. Guice …

android guice roboguice
attempting to unit test and something with RoboGuice.newDefaultRoboModule() is failing with Roboguice 2.0b3 and Robolectric

I've been looking at the astroboy example code and documentation for RoboGuice 2, and I'm honestly stumped. I hope you all …

dependency-injection android-2.2-froyo roboguice robolectric
Any simple examples using roboguice with fragments in android?

I'm having issues finding a working example of using fragments + RoboGuice. The problem happens when you attempt to add/remove …

android fragment roboguice
Android & RoboGuice - Inject views on Fragment?

I have a fragment that I need to display on the screen. I want to be able to use InjectView …

android fragment inject roboguice