Some cleanup:
- Remove unnecessary `GlobalScope`. - Rename `Component` to `Graph`, `DaggerComponentOwner` to `DependencyInjectionGraphOwner`. - Rename component builders to factories, where necessary.
This commit is contained in:
parent
6a05e1b911
commit
08bbe3fdaa
20 changed files with 99 additions and 127 deletions
|
|
@ -8,10 +8,10 @@
|
|||
package io.element.android.libraries.di
|
||||
|
||||
/**
|
||||
* A [DaggerComponentOwner] is anything that "owns" a Dagger Component.
|
||||
* A [DependencyInjectionGraphOwner] is anything that "owns" a DI Graph.
|
||||
*
|
||||
*/
|
||||
interface DaggerComponentOwner {
|
||||
/** This is either a component, or a list of components. */
|
||||
val daggerComponent: Any
|
||||
interface DependencyInjectionGraphOwner {
|
||||
/** This is either a graph, or a list of graphs. */
|
||||
val graph: Any
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue