Git Product home page Git Product logo

Comments (5)

bennyhuo avatar bennyhuo commented on August 26, 2024

好呀~
注解相关的内容你是指注解处理器相关的内容?Dagger2 这样的框架确实值得一讲,我甚至考虑后续专门开贴讲,注解处理这块儿确实跟Java还是不太一样,应该安排一期,谢谢你的建议!

from kotlin-tutorials.

CodingPapi avatar CodingPapi commented on August 26, 2024

kotlin的注解使用有一些坑,我对它的实现方式也很好奇 :)

from kotlin-tutorials.

bennyhuo avatar bennyhuo commented on August 26, 2024

你说的类似 dagger,ButterKnife 这类的注解注入的框架的实现是吧?其实就是在编译期通过注解处理器的调用来生成一部分额外的代码来完成实例化、注入等一些操作的,这个确实是一个 Kotlin 与 Java 有明显不兼容的地方

from kotlin-tutorials.

bennyhuo avatar bennyhuo commented on August 26, 2024

注解在 Kotlin当中的应用目前还是很局限,我最近准备出一期介绍介绍,有好的建议和想法直接发邮件给我吧! [email protected]

from kotlin-tutorials.

bennyhuo avatar bennyhuo commented on August 26, 2024

注解视频将在今天发出~~

from kotlin-tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.