Difference between Dagger and ButterKnife Android
问题 Can anyone point out the difference between Dagger and Butterknife? I know that Butterknife is a view injection library and Dagger is a dependency injection library. But the documentation online seems a bit overhead for me. According to Butterknife documentation, you can do non-activity injections as well, which is what Dagger does? Or did I misunderstand something? 回答1: ButterKnife is targeted to inject views only. Non-activity injection just means that you can provide your own view root to