I'm using annotated attributes all over my Android project to bind View
s and events to fields and methods.
@BindView(R.id.textViewOrderId)
TextView textViewOrderId;
@OnClick(R.id.buttonDateFilter)
public void onButtonDateFilter(View view) {...}
Migrating out of ButterKnife has become a bit expensive now. I would like to clarify a few things about this new Gradle Plugin change,
- How will non-final resource ids affect my current project?
- Will I have to migrate out of ButterKnife for good if I update the Gradle Plugin?
- How effective is the
R2
class mentioned in this Reddit post?