Anton Shkurenko Anton Shkurenko - 2 years ago 311
Java Question

Bind array of strings in the butterknife

I'm trying to bind array of strings using

. But seems that there is no way (but in processor there is a method to bind array).

Here is my code:


<string-array name="test_strings">
<item>Google plus</item>
<item>Google mail</item>


protected String [] mStrings;

Answer Source

R.string.test_array change to R.array.test_array

And @Bind to @BindArray

Five mins ago Butterknife 8.0.0 was released.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download