I have a multi module project configured to work w...
# android
p
I have a multi module project configured to work with Dagger. I came across a use case, where I need the same component need to be shared with all the activities in the same module. How can I create a shared component without putting it inside the application class
s
There’s nothing special about the Application class, It’s just a singleton that holds onto an instance of your component. So you can use any other Singleton to do the same thing