forked from androidannotations/androidannotations
-
Notifications
You must be signed in to change notification settings - Fork 0
Enhance custom classes
pyricau edited this page Jan 12, 2012
·
33 revisions
Since AndroidAnnotations 2.3
Documentation needed!
Meanwhile, have a look at @Enhanced.
You can use annotations in a class that is not a standard Android component (such as an Activity, a Service).
You just need to annotate it with @Enhanced:
@Enhanced
public class MyClass {
}This will generate MyClass_, and you can get instances of this class by calling the factory method getInstance():
MyClass myObject = MyClass_.getInstance(context);AndroidAnnotations was created by Pierre-Yves Ricau and is sponsored by eBusinessInformations.
09/11/2014 The 3.2 release is out !
- Get started!
- Download
- Cookbook, full of recipes
- Customize annotation processing
- List of all available annotations
- Release Notes
- Examples
- Read the FAQ
- Join the Mailing list
- Create an issue
- Tag on Stack Overflow