StavFX
05/18/2023, 9:37 PMfun foo(dep)
isn't exposed to consumers.
Right now I have something like this
//commonMain
interface MultiplatformComponent {
val foo: Foo
}
//androidApp
@Component
interface AndroidAppComponent : MultiplatformComponent, AndroidFooModule, SomeOtherModule
// I'm coming from Dagger, so I didn't really have a better name for these
interface AndroidFooModule {
fun provideFoo(dep...): Foo {...}
}
Is there a better way to modularize how dependencies are satisfied?evant
05/18/2023, 10:38 PMStavFX
05/19/2023, 12:41 AMappComponent.provideFoo
. It's not the end of the world, I would have just liked to somehow keep that from leakingevant
05/19/2023, 12:52 AMStavFX
05/19/2023, 12:53 AM