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;