We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Since AndroidAnnotations 2.3
Documentation needed!
Meanwhile, have a look at @Enhanced.
@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_
getInstance()
MyClass myObject = MyClass_.getInstance(context);