@Retention(value=CLASS) @Target(value=TYPE) public @interface EProvider
Should be used on ContentProvider classes to enable
usage of AndroidAnnotations.
Your code related to injected beans should go in an AfterInject
annotated method.
If the class is abstract, the enhanced activity will not be generated. Otherwise, it will be generated as a final class. You can use AndroidAnnotations to create Abstract classes that handle common code.
Example :
@EProvider
public class MyProvider extends ContentProvider {
}
AfterInjectCopyright © 2010-2015. All Rights Reserved.