匕首2例 [英] Dagger 2 examples

查看:185
本文介绍了匕首2例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

匕首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和龙目岛。你可以在这里找到它:<一href="https://github.com/mgrzechocinski/dagger2-example">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.

希望这会有所帮助:)

这篇关于匕首2例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆