Some cleanup:
- Remove unnecessary `GlobalScope`. - Rename `Component` to `Graph`, `DaggerComponentOwner` to `DependencyInjectionGraphOwner`. - Rename component builders to factories, where necessary.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user