gh-pages / com.nextfaze.devfun.reference / Dagger2Scope
Dagger2Scope
enum class Dagger2Scope
(source)
Some range of scopes for use with Dagger2Component. Priority is based on their ordinal value (higher = broader scope).
If for whatever reason you want more control or don’t want named like this then you can manually set Dagger2Component.priority.
Enum Values
Name | Summary |
---|---|
UNDEFINED | |
LOWEST | |
VIEW | |
LOWER | |
FRAGMENT | |
LOW | |
ACTIVITY | |
HIGH | |
RETAINED_FRAGMENT | |
HIGHER | |
APPLICATION | |
HIGHEST |
Properties
Name | Summary |
---|---|
isActivityRequired | val isActivityRequired: Boolean |
isFragmentActivityRequired | val isFragmentActivityRequired: Boolean |