I use ButterKnife all of the time, but I can't really understand your question. Could you maybe give a code example?
From what I have mustered you have 5 buttons on one row and you don't think you can attach a click listener to each? You would have to assign a seperate ID to each Button and then capture that with an @OnClick method, like so:
@OnClick(R.id.buttonOne)
public void buttonOneCLicked() {
}
@OnClick(R.id.buttonTwo)
public void buttonTwoCLicked() {
}
But I have a feeling I have misunderstood your question, could you clarify?
EDIT:
If you want all of your buttons to execute the same code you could either call a unified method in each of the @OnClick methods, or you could just do it the old fashioned way. ButterKnife uses this technique so your code is easily readable, it is intended to attach to each function.
In-case you don't know, the old fashioned way would mean implementing View.OnClickListener inside your Activity/Fragment and then assigning each of your views that has an OnClickListener with
yourView.setOnClickListener(this);
If you would like some views to handle the click differently then assign that view to the ButterKnife @OnClick, or set a tag on that view and search for it with an if statement in your contextual onClick.
public class YourActivity extends Activity implements View.OnClickListener {
@Override
public void onClick(View v) {
}
}
I hope this answers your question.