Join Slack
Powered by
Is there a difference in using @Binds in a abstra...
# squarelibraries
r
rkeazor
02/15/2024, 4:20 PM
Is there a difference in using @Binds in a abstract class vs interface , when it comes to Dagger?
j
jw
02/15/2024, 4:40 PM
No. The information is only used at compile time. There is no runtime overhead or usage of
@Binds
methods.
jw
02/15/2024, 4:41 PM
Also you probably want
#dagger
as
@Binds
is a Dagger 2 thing (by Google) whereas the Square-owned Dagger was Dagger 1
r
rkeazor
02/15/2024, 4:42 PM
ooh yea, true . Thanks for the information
3
Views
Open in Slack
Previous
Next