We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The InjectResource annotation is used to indicate that the annotated field is to be injected with an Android resource.
InjectResource
The value attribute corresponds to the ID of the resource to inject.
value
public class MyActivity extends InfinitumActivity { @InjectResource(R.string.my_string) private String mMyString; @InjectResource(R.array.my_array) private String[] mMyArray; @InjectResource(R.drawable.my_drawable) private Drawable mMyDrawable; // ... }
There was an error while loading. Please reload this page.