|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=SOURCE) @Target(value=FIELD) public @interface RootContext
Use it on Context fields in EBean
classes
The field MUST be of a type that extends android.content.Context.
This field may not be injected at runtime if the context used to create the
bean is not of the appropriate type. For example, if you create a new
instance of the bean using a Service context, and you use RootContext
on a field that extends Activity, this field will be null at runtime.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |