roboguice.inject
Annotation Type InjectResource


@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER,METHOD})
public @interface InjectResource

Indicates that a variable member of a class (whether static or not) should be injected with an Android resource. The value is compulsory, and correspond to the id of the resource.
Usage example:
@InjectResource(R.string.hello) protected String hello;

Author:
Mike Burton

Required Element Summary
 int value
           
 

Element Detail

value

public abstract int value


Copyright © 2011. All Rights Reserved.