...
annotations (as in example - the Language.class is an annotation) - the specified annotation must be a BindingAnnotation and must be used for providing a String value by some module. Each placeholder stored using this method will be resolved by replacing it by a value returned by a provider of a String annotated with the specified annotation.
In order to resolve thelanguage
placeholder in above paths, some module must provideString
annotated byLanguage
:Code Block @Provides @Language public String getLanguage() { String language; //some logic to set the language variable return language; }
- String - specifying a String which will replace the placeholder directly.
...