mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Some cleanup:
- Remove unnecessary `GlobalScope`. - Rename `Component` to `Graph`, `DaggerComponentOwner` to `DependencyInjectionGraphOwner`. - Rename component builders to factories, where necessary.
This commit is contained in:
+4
-4
@@ -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