Join Slack
Is there any shortcut to bind one object to multiple interfaces with dagger?
# android-architecture
i
Ianmedeiros
03/03/2020, 10:17 PM
Is there any shortcut to bind one object to multiple interfaces with dagger?
m
Marcin Bak
03/04/2020, 11:42 AM
what do you mean by shortcut? you need specify
@Binds
function for each interface so Dagger knows what instance should be returned for every and each of them
Marcin Bak
03/04/2020, 11:43 AM
there are no shortcuts here
i
Ianmedeiros
03/05/2020, 1:29 PM
I mean any construct / annotation 🙂
Ianmedeiros
03/05/2020, 1:30 PM
Just checked to make sure
6
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by