LG
07/12/2019, 1:10 PMval remoteModule = module {
factory { CarRemoteRepositoryImpl() as CarsRepository }
}
How can I debug this from Koin core side?Nicolas Picon
07/19/2019, 11:28 AMCarRemoteRepositoryImpl
already is a CarsRepository
.
I prefer using the following syntax to bind implementation to their interface:
val remoteModule = module {
factory<CarsRepository> { CarRemoteRepositoryImpl() }
}