This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Parent { | |
// Somewhere in here, a lot of external service modules are included and contribute their `Service` impls to this multibinding | |
@Inject lateinit var services: Map<String, Provider<Service>> | |
fun showChild() { | |
addChildController(serviceKey = "barServiceKey") // Key into the services map | |
} | |
} |