How can I define a custom android annotation (Eg. @Background)

Viewed 7260

Can any one suggest a proper order to define a custom annotation in JAVA(Android). So that if I annotate a method with @Background annotation, the method should work on background thread.

3 Answers
Related