<Dagger2. How to use multibinding with supporting ...
# stackoverflow
u
Dagger2. How to use multibinding with supporting of assisted injection? I have an interface PaymentProvider: interface PaymentProvider { fun pay(amount: Double): Boolean } Here is different implementations: class PayPalPayment @AssistedInject constructor( private val payPalRepo: PayPalRepository, @Assisted private val paymentData: PaymentData ): PaymentProvider { @AssistedFactory interface Factory : PaymentProviderFactory override fun pay(amount: Double): Boolean { // some code } } class CreditCardPayment( private...