we're just starting a new project
And it seems like both butterknife and databinding are awesome tools to reduce boilerplate code.
We started with butterkife and added databinding later, the idea is to not have viewmodel classes in java instead express them in xml.
Is there any reason to keep butterkife around ?
The same situation happened in my current project. We used
ButterKnife
andDataBinding
alongside. We decided to get rid of one of those as we usedButterKnife
version 7.X (converting to 8.X would be quite painful in such a big app). We got much cleaner code withDataBinding
and removing the other library reduced build time :)BUT notice that
DataBinding
still won't work with enabledJack&Jill
compiler, which will change soon hopefully. Usingneenbedankt-apt
andRetrolambda
is still OK.TL;DR
Get rid of ButterKnife.