@Retention(value=CLASS) @Target(value=FIELD) public @interface App
Injects an EApplication annotated class in an enhanced class.
Please check that your registered the application in the AndroidManifest.xml class prior to using this annotation.
Example :
@EApplication
public class MyApplication extends Application {
}
@EBean
public class MyBean {
@App
MyApplication myApp;
}
EApplicationCopyright © 2010-2015. All Rights Reserved.