Skip to content

Instantly share code, notes, and snippets.

@rachitmishra
Last active November 7, 2017 19:08
Show Gist options
  • Save rachitmishra/a10124126407431f124c3efc193df255 to your computer and use it in GitHub Desktop.
Save rachitmishra/a10124126407431f124c3efc193df255 to your computer and use it in GitHub Desktop.
dagger-subcomponent-use
/**
* Declaring a module with a sub component
*/
@Module(subcomponents = arrayOf(MySubComponent::class))
class SomeModuleForParentComponent{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment