Open changxiangzhong opened 9 years ago
But it's so niiiiice! O_O
It is kind of nice, but should definitely be avoided for projects that might be turned into submodules. For simple, very limited projects (like the Samsung S6 thing), it might be suitable.
How exactly do they not work in modules, though, @changxiangzhong?
If you create library, resource ids inside are not final so they can possibly be changed later if resources from 2 different libraries use same id. butterknife needs id to be final as far as I know. Here is some link to the problem https://github.com/JakeWharton/butterknife/issues/100
If someone wanna try butterfork instead here is the link https://github.com/oguzbabaoglu/butterfork That should work with the library but I don't want to check on a big project in case it will fail. it has only 36 stars, butterknife has around 7000
Thanks for the clarification, @Damian-Lopata. Stupid ButterKnife.
Then again, with Kotlin, you don't really need ButterKnife. :wink:
Last comment still holds true. :grinning:
I propose to avoid using butterknife. Because they can't be used in modules, which means if we are going to refactor some code as a reusable module, it would be painful.