1

If I have an annotation in Java, for example "LayoutID" which is defined :

@interface LayoutID {
   int value();
}

And used like the following :

@LayoutID(R.id.text) private EditText mEditText;

How is it possible to access the attribute value of the annotation for that specific variable?

Quintin Balsdon
  • 5,484
  • 10
  • 54
  • 95

0 Answers0