InjectResource annotation

suggest change

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:


RoboGuice:
*InjectResource annotation

Table Of Contents
67RoboGuice
169XMPP
230AIDL
242Okio