saket
11/01/2021, 4:26 AM@Component
abstract class ApplicationComponent(
@Component val other: OtherComponent
) {
@Provides fun string(): String = "bar"
}
@Component
abstract class OtherComponent {
abstract val stringConsumer: StringConsumer
}
@Inject
class StringConsumer(string: String)