匕首2例匕首

2023-09-05 05:40:49 作者:装逼引领时尚龌龊成就梦想

匕首2迫在眉睫,但可用的例子甚至不编译马上箱子,和文档是从匕首1复制 - 粘贴 - 替换。

Dagger 2 is around the corner but the available examples wouldn't even compile right off the box, and the documentation is a copy-paste-replace from Dagger 1.

有没有人有一个正确的应用程序工作在谷歌的匕首2的例子吗?

Does anyone have an example of a proper application working on Google's Dagger 2?

推荐答案

我刚刚发布的示例应用程序集成了Dagger2,retrolambda,butterknife和龙目岛。你可以在这里找到它:https://github.com/mgrzechocinski/dagger2-example.

I've just published sample app based on Gradle which integrates Dagger2, retrolambda, butterknife and lombok. You can find it here: https://github.com/mgrzechocinski/dagger2-example.

希望这会有所帮助:)