-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Great work! #3
Comments
好呀~ |
kotlin的注解使用有一些坑,我对它的实现方式也很好奇 :) |
你说的类似 dagger,ButterKnife 这类的注解注入的框架的实现是吧?其实就是在编译期通过注解处理器的调用来生成一部分额外的代码来完成实例化、注入等一些操作的,这个确实是一个 Kotlin 与 Java 有明显不兼容的地方 |
注解在 Kotlin当中的应用目前还是很局限,我最近准备出一期介绍介绍,有好的建议和想法直接发邮件给我吧! bennyhuo@println.net |
注解视频将在今天发出~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我也在试用Kotlint做开发,还没有放到生产环境。
我觉得还可以在你的目录中补充下注解相关的内容,以及Dagger2的使用。
最近我在翻译一部分kotlin的文章,我们可以一起合作 :)
The text was updated successfully, but these errors were encountered: