Coverage Summary for Class: ApplicationComponent (com.vsevolodganin.clicktrack.di.component)
| Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| ApplicationComponent$Companion |
0%
(0/1)
|
|
0%
(0/1)
|
0%
(0/8)
|
| ApplicationComponent$Factory |
|
| ApplicationComponent$Factory$Impl |
0%
(0/1)
|
|
0%
(0/1)
|
0%
(0/8)
|
| ApplicationComponent$Impl |
0%
(0/1)
|
|
0%
(0/1)
|
0%
(0/224)
|
| ApplicationComponent$Impl$ExportWorkerComponentImpl |
|
| ApplicationComponent$Impl$ExportWorkerComponentImpl$FactoryImpl |
|
| ApplicationComponent$Impl$MainActivityComponentImpl |
|
| ApplicationComponent$Impl$MainActivityComponentImpl$FactoryImpl |
|
| ApplicationComponent$Impl$PlayerServiceComponentImpl |
|
| ApplicationComponent$Impl$PlayerServiceComponentImpl$FactoryImpl |
|
| Total |
0%
(0/3)
|
|
0%
(0/3)
|
0%
(0/240)
|
package com.vsevolodganin.clicktrack.di.component
import android.app.Application
import com.vsevolodganin.clicktrack.MainApplication
import dev.zacsweers.metro.DependencyGraph
import dev.zacsweers.metro.Provides
@DependencyGraph(ApplicationScope::class)
interface ApplicationComponent {
fun inject(mainApplication: MainApplication)
val mainActivityComponentFactory: MainActivityComponent.Factory
val exportWorkerComponentFactory: ExportWorkerComponent.Factory
val playerServiceComponentFactory: PlayerServiceComponent.Factory
@DependencyGraph.Factory
fun interface Factory {
fun create(@Provides application: Application): ApplicationComponent
}
}