项目作者: Sanaebadi97

项目描述 :
Android dagger2 with Kotlin :hocho: :syringe:
高级语言: Kotlin
项目地址: git://github.com/Sanaebadi97/Dagger2.git
创建时间: 2020-03-30T08:12:28Z
项目社区:https://github.com/Sanaebadi97/Dagger2

开源协议:

下载


What is Dependency Injection? :syringe:

First, what is a dependency? Any non-trivial software program is going to contain components that pass information and send message calls back and forth between one another!

For example, when using an Object Oriented Programming language (such as Java/Kotlin on Android), objects will call methods on other objects that they have references to. A dependency is when one of the objects depends on the concrete implementation of
another object.

:key: Dagger 2 is the result of a collaboration between the team behind Guice (developed by Google) and Dagger he predecessor of Dagger 2, created by Square