Pedro Francisco de Sousa Neto
07/05/2024, 2:52 PM@Factory(belongs = VehiclesModule::class)
class Car: Vehicle
Deep Patel
07/07/2024, 11:44 PM@Module
class VehiclesModule(){
@Factory
fun provideCar() = Car()
}
Then include that module in your AppModule
Pedro Francisco de Sousa Neto
07/08/2024, 11:55 AM:feature-a
implementing an interface from :common
.
The advantage is get a list of all dependencies in :common
, like val myList: List<InterfaceX>
.
--:common (interface)
--:feature-a (implementation A)
--:feature-b (implementation B)
--:apparnaud.giuliani
07/11/2024, 7:23 AMPedro Francisco de Sousa Neto
07/12/2024, 7:25 PMarnaud.giuliani
07/15/2024, 6:53 AM