@Beta @MapKey @Target(value=METHOD) @Documented public @interface AndroidInjectionKey
MapKey
annotation to key AndroidInjector.Factory
bindings. The value of the annotation is the canonical name of the class that will be passed to
AndroidInjector.inject(Object)
.
All key strings will be obfuscated by ProGuard/R8/AppReduce if the named class is obfuscated.
You should only use this annotation if you are using a version of ProGuard/R8/AppReduce that
supports the -identifiernamestring
flag.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The fully qualified class name of the type to be injected.
|