Profile cover photo
Profile photo
Ersin Ertan
18 followers
18 followers
About
Posts

Post has attachment
Photo

Post has shared content
ObjectA has two constructors known as c1 and c2.

c1 does not have an arg but is annotated with at @Inject, c2 has an arg. ObjectA class is annotated with @ScopeForC1 to allow c1 to have a scoped creation.

Module2 has an @Provides method returning ObjectA(arg), annotated with @ScopeForC2.

Can scoping issues arise with this set up?
Are there any other issues with this kind of design?

Post has attachment

Post has attachment
Looking to get started with Android Studio or perhaps learn the IDE to become a power user? Check out my Udemy course with a discount! https://www.udemy.com/android-studio/?couponCode=android#/
Wait while more posts are being loaded