Dagger and Butter Knife vs. Android Annotations

前端 未结 8 918
抹茶落季
抹茶落季 2021-01-29 23:54

I am evaluating Dependency Injection (DI) frameworks for an Android app. The top contenders are: Dagger (with Butter Knife) and Android Annotations. I understand that Dagger an

8条回答
  •  半阙折子戏
    2021-01-30 00:26

    Here is the Nice article in Dzone blog.

    We to need to compare the features of each, such as :

    • Minimum Jars required
    • ActionBarSherlock compatibility
    • Injection for click listeners
    • POJO injection
    • Performance

    enter image description here

    Only Pojo Injection missing in butterknife! So looks like Butterknife is the winner!

    Source

提交回复
热议问题