I have a layout where I include the same sub-layout multiple times, each one with a different role:
you could use some type of sub-container like this:
public static class SettingsArcLayout {
@InjectView(R.id.settings_text) public TextView mEcoText;
@InjectView(R.id.settings_leaf_img) public ImageView mComfortLeaf;
// etc...
}
then you have it
SettingsArcLayout layout1 = new SettingsArcLayout();
SettingsArcLayout layout2 = new SettingsArcLayout();
and then:
ButterKnife.inject(this); // inject eco and cmf
ButterKnife.inject(layout1, eco);
ButterKnife.inject(layout2, cmf);
and throught this class you can use:
layout1.mEcoText.setText(... etc