org.androidannotations.annotations
Annotation Type App


@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;
 }
 

See Also:
EApplication



Copyright © 2010-2014. All Rights Reserved.