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,023
  • 9
  • 51
  • 93

0 Answers0