I am trying to bind an array of strings using butterknife . But it seems that there is no way (but there is an array binding method in processor ).
Here is my code:
strings.xml
<string-array name="test_strings"> <item>VK</item> <item>Facebook</item> <item>Twitter</item> <item>Instagram</item> <item>Google plus</item> <item>Google mail</item> </string-array>
Mainactivity
@Bind(R.string.test_strings) protected String [] mStrings;
java android arrays annotations butterknife
Anton Shkurenko
source share