@Retention(value=CLASS) @Target(value=FIELD) public @interface InjectViews
List
or array. Each view will
automatically be cast to the list or array type.
@InjectViews({R.id.first_name, R.id.middle_name, R.id.last_name})
List<TextView> nameViews;
@InjectViews({R.id.address_line_1, R.id.address_line_2})
EditText[] addressViews;
Modifier and Type | Required Element and Description |
---|---|
int[] |
value
View IDs to which the field will be bound.
|
Copyright © 2013-2015. All Rights Reserved.