Tag: Subcomponents

Custom Scopes & Subcomponents in DI

So far, we’ve experimented with the @Singleton scope, understanding its ability to create, retain, and reuse objects. However, there are scenarios that @Singleton can't address. For instance, what if we want an object to be freshly instantiated with every new activity c...