Android RoboGuice suggest change

InjectResource annotation

You can inject any type of resource, Strings, Animations, Drawables, etc.

To inject your first resource into an activity, you’ll need to:

Example

@InjectResource(R.string.app_name) String name;

@InjectResource(R.drawable.ic_launcher) Drawable icLauncher;

@InjectResource(R.anim.my_animation) Animation myAnimation;

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents