Sergey Nn Sergey Nn - 1 year ago 74
Java Question

I want to write more shorter with butterknife

It is views more shorter:

TextView textEmail,description;


TextView textEmail;

TextView description;

But it is incorrect. Can you help me, i want to know it is exist something looks like in butter knife?

Answer Source

I think you might be binding the android ids rather than your view ids.

Change to

To group views, you can groups them into list/array:

@BindViews({,, })
List<EditText> nameViews;



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