Android代码-AssistedInject

时间:2022-08-25 20:16:11
【文件属性】:

文件名称:Android代码-AssistedInject

文件大小:140KB

文件格式:ZIP

更新时间:2022-08-25 20:16:11

Android代码

Assisted Injection for JSR 330 Manually injected dependencies for your JSR 330 configuration. More about assisted injections in the Guice wiki. Usage class MyPresenter { @AssistedInject MyPresenter(Long foo, @Assisted String bar) {} @AssistedInject.Factory interface Factory { MyPresenter create(String bar); } } This will generate the following: public final class MyPresenter_AssistedFactory implements MyPresenter.Factory { private final Provider foo; @Inject public MyPresente


【文件预览】:
AssistedInject-master
----gradlew(6KB)
----settings.gradle(350B)
----assisted-inject-annotations-dagger2()
--------src()
--------gradle.properties(116B)
--------build.gradle(249B)
----.buildscript()
--------deploy_snapshot.sh(937B)
----assisted-inject-sample-android()
--------src()
--------shrinker.pro(96B)
--------build.gradle(984B)
----inflation-inject-processor()
--------src()
--------gradle.properties(108B)
--------build.gradle(768B)
----LICENSE.txt(11KB)
----assisted-inject-processor-dagger2()
--------src()
--------gradle.properties(123B)
--------build.gradle(872B)
----.travis.yml(2KB)
----gradle()
--------wrapper()
--------gradle-mvn-push.gradle(6KB)
----RELEASING.md(730B)
----assisted-inject-annotations()
--------src()
--------gradle.properties(99B)
--------build.gradle(185B)
----README.md(2KB)
----gradlew.bat(3KB)
----gradle.properties(632B)
----inflation-inject()
--------src()
--------gradle.properties(85B)
--------build.gradle(687B)
----inflation-inject-sample()
--------src()
--------shrinker.pro(40B)
--------build.gradle(959B)
----.gitignore(87B)
----signing.keystore(2KB)
----CHANGELOG.md(3KB)
----build.gradle(2KB)
----assisted-inject-processor()
--------src()
--------gradle.properties(106B)
--------build.gradle(802B)

网友评论